1
0
Fork 0
forked from swee/MeowNex

Update sweebot.py

This commit is contained in:
Nova Cat 2024-12-28 21:09:37 -08:00
parent 334fbea381
commit 78445c2d1f

View file

@ -544,7 +544,7 @@ while True:
aimsg = aiconnector.send_message(CAImodel, new.chat_id, chatquery)
ai_storage[channel] = new.chat_id
multiline(aimsg.text, channel)
lastquery = f"<p>Channel: {channel}</p><p>Request:</p><br><br><textarea class=code width=100% spellcheck=\"false\" autocapitalize=\"off\" autocomplete=\"off\" autocorrect=\"off\" readonly=\"true\">{chatquery}</textarea><hr><p>Response</p><br><br><textarea class=code width=100% spellcheck=\"false\" autocapitalize=\"off\" autocomplete=\"off\" autocorrect=\"off\" readonly=\"true\">{aimsg.text}</textarea>"
lastquery = f"<p>Channel: {channel}</p><p>Request:</p><br><br>{chatquery}<hr><p>Response</p><br><br>{aimsg.text}"
except:
multiline("Something went wrong while connecting to Character.AI.", channel)
print(traceback.format_exc())