From 2da45012f3c7bee93b6156d6dbdadd97c51ea2b0 Mon Sep 17 00:00:00 2001 From: mtuszowski Date: Thu, 19 Dec 2024 22:13:30 +0100 Subject: [PATCH] ied --- ai_commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ai_commands.py b/ai_commands.py index 02acd1d..fb20aad 100644 --- a/ai_commands.py +++ b/ai_commands.py @@ -46,6 +46,7 @@ class Events(commands.Cog): async def cog_load(self): self.logger.info("Starting personal assistants") for superfryta_id, superfryta in SPECJALNE_ZIEMNIACZKI.items(): + if superfryta[4] != "": self.logger.info( "Personal assistant for user: %s, exists id: %s,name: %s, owner: %s, special instructions: %s assistant id: %s ", @@ -199,7 +200,7 @@ class Events(commands.Cog): if message.channel.id == 1111625221171052595: return if isinstance(message.channel, discord.DMChannel): - self.logger.info(message.author) + self.logger.info(message.author.id) for superfryta in SPECJALNE_ZIEMNIACZKI.values(): self.logger.info(superfryta[0]) if message.author.id == superfryta[0]: