forked from Decentrala/chatbot
add good bot
This commit is contained in:
parent
4bb860b818
commit
dd371e3326
@ -5,6 +5,8 @@ def processmsg(msg, rcpt):
|
|||||||
return command(msg, rcpt)
|
return command(msg, rcpt)
|
||||||
elif "youtube.com/watch" in msg:
|
elif "youtube.com/watch" in msg:
|
||||||
return msg.replace("youtube.com", "iv.datura.network")
|
return msg.replace("youtube.com", "iv.datura.network")
|
||||||
|
elif "good bot" in msg:
|
||||||
|
return "^_^"
|
||||||
|
|
||||||
def command(msg, rcpt):
|
def command(msg, rcpt):
|
||||||
if msg.startswith("!help"):
|
if msg.startswith("!help"):
|
||||||
|
Loading…
Reference in New Issue
Block a user