randydev commited on
Commit
b070fc7
·
verified ·
1 Parent(s): 0aa4642

Update Akeno/plugins/chatgpt.py

Browse files
Files changed (1) hide show
  1. Akeno/plugins/chatgpt.py +1 -1
Akeno/plugins/chatgpt.py CHANGED
@@ -86,7 +86,7 @@ async def akenoai_(client: Client, message: Message):
86
  else:
87
  return await message.reply_text("Give ask from FaceAI")
88
  try:
89
- response = akeno_ai_send_message(message)
90
  if len(response) > 4096:
91
  with open("chat.txt", "w+", encoding="utf8") as out_file:
92
  out_file.write(response)
 
86
  else:
87
  return await message.reply_text("Give ask from FaceAI")
88
  try:
89
+ response = akeno_ai_send_message(prompt)
90
  if len(response) > 4096:
91
  with open("chat.txt", "w+", encoding="utf8") as out_file:
92
  out_file.write(response)