diff --git a/ai_commands.py b/ai_commands.py index dadb40c..d4e7ee4 100644 --- a/ai_commands.py +++ b/ai_commands.py @@ -9,7 +9,7 @@ import openai import requests from discord.ext import commands -from ai_functions import handle_response, start_assistants +from ai_functions import handle_response, hammer_assistant_create from constants import ( DATA, GRAPHICS_PATH, @@ -27,10 +27,13 @@ class Events(commands.Cog): @commands.Cog.listener() async def on_ready(self): - print("Ready!") - print("Logged in as ---->", self.bot.user) - print("ID:", self.bot.user.id) - await start_assistants(self.bot) + self.logger.info("Ready!") + self.logger.info("Logged in as ---->", self.bot.user) + self.logger.info("ID:", self.bot.user.id) + self.logger.info("Starting personal assistants") + await hammer_assistant_create(self.bot) + self.logger.info("Started personal assistants") + @commands.Cog.listener() async def on_message(self, message): diff --git a/ai_functions.py b/ai_functions.py index 86222d3..d3b67c4 100644 --- a/ai_functions.py +++ b/ai_functions.py @@ -317,9 +317,3 @@ async def saint_assistant_chat(client): async def saint_assistant_bul(client): pass -async def start_assistants(client): - print("Preparring assistants") - print("Hammer") - await hammer_assistant_create(client) - print("Saint") - print("Hedgehog")