From 461fb583645d180c7f5a472cafe874d3dc763fa0 Mon Sep 17 00:00:00 2001 From: EEKIM10 Date: Thu, 6 Oct 2022 09:25:39 +0100 Subject: [PATCH] Use intents --- main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index d224848..455a53a 100644 --- a/main.py +++ b/main.py @@ -5,7 +5,10 @@ from utils import registry bot = commands.Bot( - commands.when_mentioned_or("h!"), debug_guilds=config.guilds, allowed_mentions=discord.AllowedMentions.none() + commands.when_mentioned_or("h!"), + debug_guilds=config.guilds, + allowed_mentions=discord.AllowedMentions.none(), + intents=discord.Intents.default() + discord.Intents.members ) bot.load_extension("jishaku") bot.load_extension("cogs.verify")