From 130cadd6dfabc06d31ad3c6989408237fc7d1a3f Mon Sep 17 00:00:00 2001 From: "Nyeki.py" <84998222+Nekidev@users.noreply.github.com> Date: Thu, 17 Oct 2024 02:06:55 -0300 Subject: [PATCH] feat(bot): :sparkles: Make commands and prefix case-insensitive and whitespace-independent. --- payphone/bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/payphone/bot.py b/payphone/bot.py index cf4a90f..5edb677 100644 --- a/payphone/bot.py +++ b/payphone/bot.py @@ -27,6 +27,8 @@ class Payphone(commands.AutoShardedBot): intents=intents, command_prefix=self.get_prefix, help_command=help_command.HelpCommand(), + strip_after_prefix=True, + case_insensitive=True, ) async def on_ready(self) -> None: