This commit is contained in:
parent
b0ce40b47f
commit
f11b842791
4
bot.py
4
bot.py
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user