Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
CarolinePascal commited on
fix(intents)
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ class Bot(commands.Bot):
|
|
| 18 |
"""This structure allows slash commands to work instantly."""
|
| 19 |
|
| 20 |
def __init__(self):
|
| 21 |
-
super().__init__(command_prefix="/", intents=discord.Intents.
|
| 22 |
|
| 23 |
async def setup_hook(self):
|
| 24 |
await self.tree.sync(guild=discord.Object(MY_GUILD_ID))
|
|
|
|
| 18 |
"""This structure allows slash commands to work instantly."""
|
| 19 |
|
| 20 |
def __init__(self):
|
| 21 |
+
super().__init__(command_prefix="/", intents=discord.Intents.default())
|
| 22 |
|
| 23 |
async def setup_hook(self):
|
| 24 |
await self.tree.sync(guild=discord.Object(MY_GUILD_ID))
|