This commit is contained in:
2024-11-13 21:57:14 +01:00
parent 1f0e03590d
commit b3e5a1aaf3
2 changed files with 34 additions and 2 deletions
+2 -1
View File
@@ -9,7 +9,7 @@ import openai
import requests
from discord.ext import commands
from ai_functions import handle_response
from ai_functions import handle_response, start_assistants
from constants import (
DATA,
GRAPHICS_PATH,
@@ -30,6 +30,7 @@ class Events(commands.Cog):
print("Ready!")
print("Logged in as ---->", self.bot.user)
print("ID:", self.bot.user.id)
await start_assistants(self.bot)
@commands.Cog.listener()
async def on_message(self, message):