randydev commited on
Commit
2ce2a62
·
verified ·
1 Parent(s): 4bdfc4c

Update chatbot/plugins/chat.py

Browse files
Files changed (1) hide show
  1. chatbot/plugins/chat.py +1 -1
chatbot/plugins/chat.py CHANGED
@@ -128,7 +128,7 @@ async def chatbot_talk(client: Client, message: Message):
128
  await pro.delete()
129
  os.remove("chat.txt")
130
  else:
131
- await pro.edit_text(output)
132
  backup_chat.append({"role": "assistant", "content": output})
133
  user_detail = (
134
  f"**Akeno GPT Bot**\n"
 
128
  await pro.delete()
129
  os.remove("chat.txt")
130
  else:
131
+ await pro.edit_text(output, disable_web_page_preview=True)
132
  backup_chat.append({"role": "assistant", "content": output})
133
  user_detail = (
134
  f"**Akeno GPT Bot**\n"