mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 09:44:50 +00:00
Wrong html parsing
This commit is contained in:
parent
6bd5d9990e
commit
e93ff1ea0f
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ async def openai_chatbot(_, ctx: Message, strings):
|
||||||
await msg.edit_msg(html.escape(answer))
|
await msg.edit_msg(html.escape(answer))
|
||||||
await asyncio.sleep(1.5)
|
await asyncio.sleep(1.5)
|
||||||
num = 0
|
num = 0
|
||||||
await msg.edit_msg(html.escape(f"{answer}\n\n<b>Powered by:</b> <code>GPT 4o</code>"))
|
await msg.edit_msg(f"{html.escape(answer)}\n\n<b>Powered by:</b> <code>GPT 4o</code>")
|
||||||
except MessageTooLong:
|
except MessageTooLong:
|
||||||
answerlink = await post_to_telegraph(
|
answerlink = await post_to_telegraph(
|
||||||
False, "MissKaty ChatBot ", html.escape(f"<code>{answer}</code>")
|
False, "MissKaty ChatBot ", html.escape(f"<code>{answer}</code>")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue