mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 10:22:59 +00:00
Fix type errors in all examples
This commit is contained in:
@ -70,6 +70,9 @@ class DynamicCounter(
|
||||
|
||||
|
||||
class DynamicCounterBot(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()
|
||||
super().__init__(command_prefix=commands.when_mentioned, intents=intents)
|
||||
|
Reference in New Issue
Block a user