Update sweebot.py

This commit is contained in:
Nova Cat 2025-03-09 20:10:53 -07:00
parent fca22627cb
commit 318e350066

View file

@ -556,6 +556,7 @@ while True:
randomname = str(uuid.uuid4())
responses_ai[randomname] = aimsg
mtline = ""
global lastquery
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}</textarea>"
broke = False
logs[channel].append({"nick": nick, "content": " ".join(command)})