Added \!tasks to \!help

This commit is contained in:
t3xhno 2024-02-06 22:18:44 +01:00
parent 3d80517a6f
commit 5382b876e2

View File

@ -14,7 +14,8 @@ def command(msg, rcpt):
response = "chatbot commands:" + "\n" response = "chatbot commands:" + "\n"
response += "!help Show this help page" + "\n" response += "!help Show this help page" + "\n"
response += "!ai [message] Ask llama2" + "\n" response += "!ai [message] Ask llama2" + "\n"
response += "!wiki [message] Ask wiki" response += "!wiki [message] Ask wiki\n"
response += "!tasks Show active tasks from the taskmanager\n"
return response return response
elif msg.startswith("!ai"): elif msg.startswith("!ai"):
client = ollama.Client(host='https://ollama.krov.dmz.rs') client = ollama.Client(host='https://ollama.krov.dmz.rs')