Compare commits

..

No commits in common. "a8b9850be5ca4b2020ab319c078da5e9609dc662" and "08f958ff1e53eb7cba4334fea123ae6ed6e51e9c" have entirely different histories.

View File

@ -1,9 +1,5 @@
def processmsg(msg, rcpt):
if msg.startswith("!"):
return command(msg, rcpt)
return ""
elif "youtube.com/watch" in msg:
return msg.replace("youtube.com", "iv.datura.network")
def command(msg, rcpt):
if msg.startswith("!help"):
return "chatbot commands: \n" + "!help Show this help page"