From be0933c9289154180197846fb39033e9f9eb430d Mon Sep 17 00:00:00 2001 From: iDutchy Date: Tue, 5 Jan 2021 18:57:12 -0600 Subject: [PATCH] broke case insensitive prefixes... Oops --- discord/ext/commands/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py index 0d817074..ab4da277 100644 --- a/discord/ext/commands/bot.py +++ b/discord/ext/commands/bot.py @@ -833,7 +833,7 @@ class BotBase(GroupMixin): if self.case_insensitive_prefix: temp = [] for pre in ret: - temp += list(map(''.join, itertools.product(*((c.upper(), c.lower()) for c in ret)))) + temp += list(map(''.join, itertools.product(*((c.upper(), c.lower()) for c in pre)))) ret = temp else: ret = list(ret)