From e05f58624a4c7dd1a2df1233dfcf7e5d98bb76bc Mon Sep 17 00:00:00 2001 From: mtuszowski Date: Wed, 13 Nov 2024 22:48:40 +0100 Subject: [PATCH] fx --- ai_commands.py | 6 +----- thin_client.py | 2 ++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/ai_commands.py b/ai_commands.py index d4e7ee4..086e4a6 100644 --- a/ai_commands.py +++ b/ai_commands.py @@ -25,11 +25,7 @@ class Events(commands.Cog): self.bot = bot self.logger = logging.getLogger("discord") - @commands.Cog.listener() - async def on_ready(self): - self.logger.info("Ready!") - self.logger.info("Logged in as ---->", self.bot.user) - self.logger.info("ID:", self.bot.user.id) + async def cog_load(self): self.logger.info("Starting personal assistants") await hammer_assistant_create(self.bot) self.logger.info("Started personal assistants") diff --git a/thin_client.py b/thin_client.py index aed2484..541eed3 100644 --- a/thin_client.py +++ b/thin_client.py @@ -67,6 +67,8 @@ async def on_ready(): for com in client.commands: logger.info("Command %s is awejleble", com.qualified_name) + logger.info("Logged in as ---->", client.user) + logger.info("ID:", client.user.id) # TODO: ADMINISTRATION