Merge branch 'master' of ssh://gitea.dmz.rs:2222/Decentrala/chatbot

Conflicts resolved
This commit is contained in:
texhno 2024-02-06 02:08:13 +01:00
commit 252a7fbdba

View File

@ -8,8 +8,8 @@ def processmsg(msg, rcpt):
def command(msg, rcpt): def command(msg, rcpt):
if msg.startswith("!help"): if msg.startswith("!help"):
response = "chatbot commands: \n" response = "chatbot commands:" + "\n"
response += "!help Show this help page" response += "!help Show this help page" + "\n"
response += "!ai [message] Ask llama2" response += "!ai [message] Ask llama2"
return response return response
elif msg.startswith("!ai"): elif msg.startswith("!ai"):