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]: