From 950f1dff3ed940371fff8bf4dc7f1b677576dcee Mon Sep 17 00:00:00 2001 From: Siphalor Date: Thu, 7 Oct 2021 15:57:00 +0200 Subject: [PATCH] Make quote tell prefix case insensitive --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 5a6cf9a..f4c73e3 100644 --- a/bot.py +++ b/bot.py @@ -871,7 +871,7 @@ async def quote_tell_slash(ctx: SlashContext, author: str, prefix: Optional[str] return if prefix is not None: for quote in quotes: - if quote.startswith(prefix): + if quote.lower().startswith(prefix.lower()): await _do_quote(ctx, author, quote, tts) return