From 253e69abc5b1941c78dab4a7afa96535a4d3f9a3 Mon Sep 17 00:00:00 2001 From: kwzrd Date: Mon, 5 Oct 2020 14:44:57 +0200 Subject: Intents: call classmethod on class, not intermediate instance --- bot/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3