mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Use intents
This commit is contained in:
parent
b8d0cb131e
commit
461fb58364
1 changed files with 4 additions and 1 deletions
5
main.py
5
main.py
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue