add good bot

This commit is contained in:
fram3d 2024-02-06 02:13:36 +01:00
parent 4bb860b818
commit dd371e3326
Signed by: fram3d
GPG Key ID: 938920E709EEA32A

View File

@ -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"):