parent
fca22627cb
commit
318e350066
1 changed files with 1 additions and 0 deletions
|
@ -556,6 +556,7 @@ while True:
|
||||||
randomname = str(uuid.uuid4())
|
randomname = str(uuid.uuid4())
|
||||||
responses_ai[randomname] = aimsg
|
responses_ai[randomname] = aimsg
|
||||||
mtline = ""
|
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>"
|
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
|
broke = False
|
||||||
logs[channel].append({"nick": nick, "content": " ".join(command)})
|
logs[channel].append({"nick": nick, "content": " ".join(command)})
|
||||||
|
|
Loading…
Add table
Reference in a new issue