Make quote tell prefix case insensitive
This commit is contained in:
1 parent
e8aec3be57
commit
950f1dff3e
1 file changed
+1
-1
@@ -871,7 +871,7 @@ async def quote_tell_slash(ctx: SlashContext, author: str, prefix: Optional[str]
|
|||||||
return
|
return
|
||||||
if prefix is not None:
|
if prefix is not None:
|
||||||
for quote in quotes:
|
for quote in quotes:
|
||||||
if quote.startswith(prefix):
|
if quote.lower().startswith(prefix.lower()):
|
||||||
await _do_quote(ctx, author, quote, tts)
|
await _do_quote(ctx, author, quote, tts)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user