]> git.cworth.org Git - turbot/blobdiff - turbot/interaction.py
Make the error message from /state a little more explicit
[turbot] / turbot / interaction.py
index 0d2743e20fe3ddc8a5703d71435cf99f75d02b33..df2f96f634da97af16b79973fad1ae207aa6aa5b 100644 (file)
@@ -444,7 +444,8 @@ def state(turb, body, args):
     puzzle = puzzle_for_channel(turb, channel_id)
 
     if not puzzle:
-        return bot_reply("Sorry, this is not a puzzle channel.")
+        return bot_reply(
+            "Sorry, the /state command only works in a puzzle channel")
 
     # Set the state field in the database
     puzzle['state'] = args