chatbot/functions.py

6 lines
155 B
Python
Raw Normal View History

2024-02-05 23:40:23 +00:00
def processmsg(msg, rcpt):
if msg.startswith("!"):
return ""
elif "youtube.com/watch" in msg:
return msg.replace("youtube.com", "iv.datura.network")