try to fix schizo cmd
This commit is contained in:
parent
34b1c075b6
commit
239bbe259e
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ class Mybot(commands.Cog):
|
||||||
lower_names = [x.lower() for x in list_name]
|
lower_names = [x.lower() for x in list_name]
|
||||||
if name.lower() in lower_names:
|
if name.lower() in lower_names:
|
||||||
if name:
|
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)
|
await self.bot.user.edit(username=correct_name)
|
||||||
else:
|
else:
|
||||||
name = "404"
|
name = "404"
|
||||||
|
|
Loading…
Reference in a new issue