aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/bot.py')
-rw-r--r--bot/bot.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/bot/bot.py b/bot/bot.py
index ffaf4284..d95ac2d8 100644
--- a/bot/bot.py
+++ b/bot/bot.py
@@ -204,8 +204,18 @@ class SeasonalBot(commands.Bot):
_allowed_roles = [discord.Object(id_) for id_ in MODERATION_ROLES]
+
+_intents = discord.Intents().all()
+_intents.bans = False
+_intents.integrations = False
+_intents.invites = False
+_intents.presences = False
+_intents.typing = False
+_intents.webhooks = False
+
bot = SeasonalBot(
command_prefix=Client.prefix,
activity=discord.Game(name=f"Commands: {Client.prefix}help"),
allowed_mentions=discord.AllowedMentions(everyone=False, roles=_allowed_roles),
+ intents=_intents,
)