feat(bot): ✨ Make commands and prefix case-insensitive and whitespace-independent.
This commit is contained in:
@@ -27,6 +27,8 @@ class Payphone(commands.AutoShardedBot):
|
|||||||
intents=intents,
|
intents=intents,
|
||||||
command_prefix=self.get_prefix,
|
command_prefix=self.get_prefix,
|
||||||
help_command=help_command.HelpCommand(),
|
help_command=help_command.HelpCommand(),
|
||||||
|
strip_after_prefix=True,
|
||||||
|
case_insensitive=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
async def on_ready(self) -> None:
|
async def on_ready(self) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user