fix: ai module typo
All checks were successful
Build Docker / Build Docker (push) Successful in 15s

This commit is contained in:
Nathan Woodburn 2023-11-13 20:16:01 +11:00
parent b0ce40b47f
commit f11b842791
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
2 changed files with 2 additions and 2 deletions

4
bot.py
View File

@ -13,7 +13,7 @@ from cryptography import x509
from cryptography.hazmat.backends import default_backend
import datetime
from apscheduler.schedulers.asyncio import AsyncIOScheduler
import ai
import chatai
@ -451,7 +451,7 @@ async def manualsslcheck(ctx):
async def ai(ctx, message: str):
prompt = "Name: " + str(ctx.user.name) + "\n"
prompt = prompt + "Message: " + message + "\n"
await ctx.response.send_message(ai.chat(prompt))
await ctx.response.send_message(chatai.chat(prompt))
# When the bot is ready
@client.event

View File