Commands now case-insensitive
This commit is contained in:
parent
5760ea201e
commit
7e60012118
|
|
@ -22,6 +22,7 @@ class SecretBot(commands.Cog):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.bot = commands.Bot(
|
self.bot = commands.Bot(
|
||||||
"!",
|
"!",
|
||||||
|
case_insensitive = True,
|
||||||
help_command = commands.MinimalHelpCommand(),
|
help_command = commands.MinimalHelpCommand(),
|
||||||
intents = discord.Intents(guild_messages = True, guilds = True, members = True, reactions = True),
|
intents = discord.Intents(guild_messages = True, guilds = True, members = True, reactions = True),
|
||||||
allowed_mentions = discord.AllowedMentions.none(), # By default we do not allow mentions, as we will white-list them on each required message
|
allowed_mentions = discord.AllowedMentions.none(), # By default we do not allow mentions, as we will white-list them on each required message
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue