From 9309ebd2c9350be93811f2ecc5d5329c2e37be75 Mon Sep 17 00:00:00 2001 From: Entarno54 Date: Tue, 13 May 2025 13:56:13 +0700 Subject: [PATCH] Fixed !clear --- commands/ai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)