aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2020-10-05 14:44:57 +0200
committerGravatar kwzrd <[email protected]>2020-10-05 14:44:57 +0200
commit253e69abc5b1941c78dab4a7afa96535a4d3f9a3 (patch)
tree7e7ccc38be5447e9a39efb9b151a7ee859d61b09 /bot/bot.py
parentIntents: initial setup (diff)
Intents: call classmethod on class, not intermediate instance
Diffstat (limited to 'bot/bot.py')
-rw-r--r--bot/bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/bot.py b/bot/bot.py
index d95ac2d8..3870534e 100644
--- a/bot/bot.py
+++ b/bot/bot.py
@@ -205,7 +205,7 @@ class SeasonalBot(commands.Bot):
_allowed_roles = [discord.Object(id_) for id_ in MODERATION_ROLES]
-_intents = discord.Intents().all()
+_intents = discord.Intents.all()
_intents.bans = False
_intents.integrations = False
_intents.invites = False