]> git.cworth.org Git - turbot/blobdiff - turbot/commands.py
Introduce a new modal view when the user clicks the "New Hunt" button
[turbot] / turbot / commands.py
index 2a1f3e5b3ea618574b94cb53db8cace08b46f3e9..1b7098ca4937da7f1959aaf647628dc2401c9f9e 100644 (file)
@@ -1,7 +1,7 @@
 import requests
 import turbot.rot
 
-def rot(slack_client, body, args):
+def rot(turb, body, args):
     """Implementation of the /rot command
 
     The args string should be as follows:
@@ -35,3 +35,7 @@ def rot(slack_client, body, args):
         'statusCode': 200,
         'body': ""
     }
+
+commands = {
+    "/rot": rot
+}