Add messages intent

This commit is contained in:
eek7574 2022-12-01 10:11:05 +00:00
parent f9b2383113
commit eec6fe085f

View file

@ -9,7 +9,7 @@ bot = commands.Bot(
commands.when_mentioned_or("h!"),
debug_guilds=config.guilds,
allowed_mentions=discord.AllowedMentions.none(),
intents=discord.Intents.default() + discord.Intents.members,
intents=discord.Intents.default() + discord.Intents.members + discord.Intents.messages,
)
bot.training_lock = Lock()