From 900cb9451e7f4abd83711bf592a33a6dd38070a7 Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 7 Apr 2025 18:51:51 +0700 Subject: [PATCH] Fixed the double command thing --- events/ai.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/events/ai.py b/events/ai.py index bd62863..dcb4d84 100644 --- a/events/ai.py +++ b/events/ai.py @@ -27,7 +27,7 @@ async def find(list: list, param: str, value: any): found = g return found -async def flush(data): +async def flush(): SquogDataFile = open("./userdata/userdata.json", "w") SquogDataFile.write(json.dumps(SquogData)) SquogDataFile.flush() @@ -39,8 +39,6 @@ class AI(commands.Cog): @commands.Cog.listener() async def on_message(self, message: nextcord.Message): - print(message.content) - await self.client.process_commands(message) if not Enabled: return