CarolinePascal commited on
Commit
9583bb8
·
unverified ·
1 Parent(s): 7960b49

fix(intents)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.all())
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))