Fixed !clear
This commit is contained in:
parent
9e46581f86
commit
9309ebd2c9
@ -16,7 +16,7 @@ class AICommands(commands.Cog):
|
|||||||
if not user:
|
if not user:
|
||||||
return await ctx.reply("You don't have any AI data.")
|
return await ctx.reply("You don't have any AI data.")
|
||||||
else:
|
else:
|
||||||
userIndex = ai.SquogData.index(user)
|
userIndex = parsedinfo.parsed["guild"].index(user)
|
||||||
|
|
||||||
parsedinfo.parsed["guild"].remove(userIndex)
|
parsedinfo.parsed["guild"].remove(userIndex)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user