mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 13:34:40 +00:00
Logfix
This commit is contained in:
+8
-5
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user