diff --git a/commands/ai.py b/commands/ai.py index 427c0cf..9ac24f4 100644 --- a/commands/ai.py +++ b/commands/ai.py @@ -16,7 +16,7 @@ class AICommands(commands.Cog): if not user: return await ctx.reply("You don't have any AI data.") else: - userIndex = ai.SquogData.index(user) + userIndex = parsedinfo.parsed["guild"].index(user) parsedinfo.parsed["guild"].remove(userIndex)