move functions to seperate file

This commit is contained in:
2024-02-06 00:40:23 +01:00
parent 8fd5a05eda
commit dc1e0d42af
4 changed files with 8 additions and 7 deletions

5
functions.py Normal file
View 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")