Update sweebot.py
Some checks failed
Check syntax / check (push) Failing after 6s

This commit is contained in:
Nova Cat 2024-12-28 20:32:35 -08:00
parent e079fb10cd
commit fd433122dc

View file

@ -534,7 +534,7 @@ while True:
elif command[0] == "$ai-chat":
try:
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
if channel in ai_storage:
aimsg = aiconnector.send_message(CAImodel, ai_storage[channel], chatquery)