This commit is contained in:
parent
e079fb10cd
commit
fd433122dc
1 changed files with 1 additions and 1 deletions
|
@ -534,7 +534,7 @@ while True:
|
||||||
elif command[0] == "$ai-chat":
|
elif command[0] == "$ai-chat":
|
||||||
try:
|
try:
|
||||||
aiconnector = cai.connect()
|
aiconnector = cai.connect()
|
||||||
chatquery = f"--Listen Up--\nYour happiness level is {happiness} (Maximum 10), your emotion level will impact the conversation's tone.\n--END Listen Up--\n--IRC recieve--\n<{nick}> " + " ".join(command[1:]
|
chatquery = f"--Listen Up--\nYour happiness level is {happiness} (Maximum 10), your emotion level will impact the conversation's tone.\n--END Listen Up--\n--IRC recieve--\n<{nick}> " + " ".join(command[1:])
|
||||||
lastquery = chatquery
|
lastquery = chatquery
|
||||||
if channel in ai_storage:
|
if channel in ai_storage:
|
||||||
aimsg = aiconnector.send_message(CAImodel, ai_storage[channel], chatquery)
|
aimsg = aiconnector.send_message(CAImodel, ai_storage[channel], chatquery)
|
||||||
|
|
Loading…
Reference in a new issue