Compare commits
3 Commits
834934fccd
...
9c76ea38ce
Author | SHA1 | Date | |
---|---|---|---|
9c76ea38ce | |||
79f9c3ec02 | |||
dd371e3326 |
@ -6,6 +6,8 @@ def processmsg(msg, rcpt):
|
|||||||
return msg.replace("youtube.com", "iv.datura.network")
|
return msg.replace("youtube.com", "iv.datura.network")
|
||||||
elif msg.startswith("!wiki"):
|
elif msg.startswith("!wiki"):
|
||||||
return sf.query_external_website("https://en.wikipedia.org/wiki/", msg.split(" ")[1])
|
return sf.query_external_website("https://en.wikipedia.org/wiki/", msg.split(" ")[1])
|
||||||
|
elif "good bot" in msg:
|
||||||
|
return "^_^"
|
||||||
|
|
||||||
def command(msg, rcpt):
|
def command(msg, rcpt):
|
||||||
if msg.startswith("!help"):
|
if msg.startswith("!help"):
|
||||||
|
Loading…
Reference in New Issue
Block a user