From f44994688eaa886cb060705daee8bf2a09579faa Mon Sep 17 00:00:00 2001 From: mtuszowski Date: Thu, 19 Dec 2024 22:37:16 +0100 Subject: [PATCH] All thirteen --- ai_commands.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ai_commands.py b/ai_commands.py index fb20aad..b09f3ba 100644 --- a/ai_commands.py +++ b/ai_commands.py @@ -203,7 +203,9 @@ class Events(commands.Cog): self.logger.info(message.author.id) for superfryta in SPECJALNE_ZIEMNIACZKI.values(): self.logger.info(superfryta[0]) + if message.author.id == superfryta[0]: + self.logger.info("Specjalny ziemniak") if self.armia[message.author.id] == Dm_Mode.SPECJALNY_ZIEMNIACZEK: #await self.bot.process_commands(message) await ai_functions.chat_with_assistant(message, superfryta[1]) @@ -212,6 +214,7 @@ class Events(commands.Cog): await ai_functions.echo(message) return elif self.armia[message.author.id] == Dm_Mode.ARMIA_HAMMERA: + self.logger.info("Armia Hammera function call") ctx = await self.bot.get_context(message) self.armia_hammera_back(ctx=ctx, message_txt=message.content) return