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"