forked from Decentrala/chatbot
Added required positional argument placeholder
This commit is contained in:
parent
c011383f0e
commit
1e56a84a4c
@ -5,7 +5,7 @@ def processmsg(msg, rcpt):
|
|||||||
if "youtube.com/watch" in msg:
|
if "youtube.com/watch" in msg:
|
||||||
return msg.replace("youtube.com", "iv.datura.network")
|
return msg.replace("youtube.com", "iv.datura.network")
|
||||||
elif msg.startswith("!"):
|
elif msg.startswith("!"):
|
||||||
return command(msg)
|
return command(msg, "")
|
||||||
elif "good bot" in msg:
|
elif "good bot" in msg:
|
||||||
return "^_^"
|
return "^_^"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user