mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-05 03:34:51 +00:00
Fix openai (#34)
This commit is contained in:
parent
0e7924c8db
commit
8c7b57c03d
1 changed files with 1 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ async def chatbot(c, m, strings):
|
||||||
await editPesan(msg, answer)
|
await editPesan(msg, answer)
|
||||||
await asyncio.sleep(1.5)
|
await asyncio.sleep(1.5)
|
||||||
num = 0
|
num = 0
|
||||||
|
await editPesan(msg, answer)
|
||||||
await openai.aiosession.get().close()
|
await openai.aiosession.get().close()
|
||||||
except MessageTooLong:
|
except MessageTooLong:
|
||||||
answerlink = await post_to_telegraph(False, "MissKaty ChatBot ", answer)
|
answerlink = await post_to_telegraph(False, "MissKaty ChatBot ", answer)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue