mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Add messages intent
This commit is contained in:
parent
f9b2383113
commit
eec6fe085f
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue