mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +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):
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user