mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 09:56:09 +00:00
Fix type errors in all examples
This commit is contained in:
@ -6,6 +6,9 @@ import discord
|
||||
|
||||
|
||||
class EphemeralCounterBot(commands.Bot):
|
||||
# Suppress error on the User attribute being None since it fills up later
|
||||
user: discord.ClientUser
|
||||
|
||||
def __init__(self):
|
||||
intents = discord.Intents.default()
|
||||
intents.message_content = True
|
||||
|
Reference in New Issue
Block a user