Files
chatbot/functions.py
T
2024-02-06 00:40:23 +01:00

6 lines
155 B
Python

def processmsg(msg, rcpt):
if msg.startswith("!"):
return ""
elif "youtube.com/watch" in msg:
return msg.replace("youtube.com", "iv.datura.network")