]> git.cworth.org Git - turbot/commitdiff
Actually wire up the state command
authorCarl Worth <cworth@cworth.org>
Fri, 23 Oct 2020 00:28:27 +0000 (17:28 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 23 Oct 2020 00:28:27 +0000 (17:28 -0700)
Or else it won't do anything.

turbot/interaction.py

index d745a7a3e1428f3e7b75d7dc6e8192123f7fc9ba..78e209aa10dd61803ac63c57e07ff027deac5449 100644 (file)
@@ -417,3 +417,5 @@ def state(turb, body, args):
     table.put_item(Item=puzzle)
 
     set_channel_topic(turb, puzzle)
+
+commands["/state"] = state