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