[main] client = MyClient(intents=discord.Intents.default()) ------> client = MyClient(intents=discord.Intents.all())
Browse files
app.py
CHANGED
|
@@ -41,7 +41,7 @@ class MyClient(discord.Client):
|
|
| 41 |
self.tree.copy_global_to(guild=MY_GUILD)
|
| 42 |
await self.tree.sync(guild=MY_GUILD)
|
| 43 |
|
| 44 |
-
client = MyClient(intents=discord.Intents.
|
| 45 |
#-------------------------------------------------------------------------------------------------------------------------------------
|
| 46 |
@client.event
|
| 47 |
async def on_ready():
|
|
|
|
| 41 |
self.tree.copy_global_to(guild=MY_GUILD)
|
| 42 |
await self.tree.sync(guild=MY_GUILD)
|
| 43 |
|
| 44 |
+
client = MyClient(intents=discord.Intents.all())
|
| 45 |
#-------------------------------------------------------------------------------------------------------------------------------------
|
| 46 |
@client.event
|
| 47 |
async def on_ready():
|