Use intents

This commit is contained in:
EEKIM10 2022-10-06 09:25:39 +01:00
parent b8d0cb131e
commit 461fb58364

View file

@ -5,7 +5,10 @@ from utils import registry
bot = commands.Bot( 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("jishaku")
bot.load_extension("cogs.verify") bot.load_extension("cogs.verify")