mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 01:16:21 +00:00
Fix remaining things not explicitly passing the intents kwarg
This commit is contained in:
@ -29,5 +29,5 @@ class MyClient(discord.Client):
|
||||
await self.wait_until_ready() # wait until the bot logs in
|
||||
|
||||
|
||||
client = MyClient()
|
||||
client = MyClient(intents=discord.Intents.default())
|
||||
client.run('token')
|
||||
|
@ -24,5 +24,5 @@ class MyClient(discord.Client):
|
||||
await asyncio.sleep(60) # task runs every 60 seconds
|
||||
|
||||
|
||||
client = MyClient()
|
||||
client = MyClient(intents=discord.Intents.default())
|
||||
client.run('token')
|
||||
|
Reference in New Issue
Block a user