mirror of
https://github.com/alterware/aw-bot.git
synced 2025-10-26 22:16:58 +00:00
feat: use the docs as input for the AI
This commit is contained in:
3
aw.py
3
aw.py
@@ -5,6 +5,7 @@ import discord
|
||||
from discord.ext import commands
|
||||
|
||||
from database import initialize_db
|
||||
from bot.ai.handle_request import DiscourseSummarizer
|
||||
|
||||
GUILD_ID = 1110531063161299074
|
||||
BOT_LOG = 1112049391482703873
|
||||
@@ -19,6 +20,8 @@ load_dotenv(override=True)
|
||||
|
||||
initialize_db()
|
||||
|
||||
bot.ai_helper = DiscourseSummarizer()
|
||||
|
||||
|
||||
@bot.event
|
||||
async def on_ready():
|
||||
|
||||
Reference in New Issue
Block a user