Added tasks integration
This commit is contained in:
@@ -23,4 +23,7 @@ def command(msg, rcpt):
|
||||
elif msg.startswith("!wiki"):
|
||||
cmd, query = msg.split(" ", 1)
|
||||
return sf.query_external_website("https://en.wikipedia.org", "/wiki/" + query)
|
||||
elif msg.startswith("!tasks"):
|
||||
content = sf.getDmzTasks()
|
||||
return content
|
||||
|
||||
|
Reference in New Issue
Block a user