From 239bbe259eed17ba4f7720437f631f3c30d67718 Mon Sep 17 00:00:00 2001 From: Milka64 Date: Sun, 21 Nov 2021 16:48:04 +0100 Subject: [PATCH] try to fix schizo cmd --- kabot/kabot/kabot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index d5a654c..e25e972 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -431,7 +431,7 @@ class Mybot(commands.Cog): lower_names = [x.lower() for x in list_name] if name.lower() in lower_names: if name: - correct_name = [x for x in list_name if x.lower() in nama.lower()][0] + correct_name = [x for x in list_name if x.lower() in name.lower()][0] await self.bot.user.edit(username=correct_name) else: name = "404"