forked from Decentrala/chatbot
move functions to seperate file
This commit is contained in:
5
functions.py
Normal file
5
functions.py
Normal file
@@ -0,0 +1,5 @@
|
||||
def processmsg(msg, rcpt):
|
||||
if msg.startswith("!"):
|
||||
return ""
|
||||
elif "youtube.com/watch" in msg:
|
||||
return msg.replace("youtube.com", "iv.datura.network")
|
Reference in New Issue
Block a user