Realized that only expirations actually got fixed.

This commit is contained in:
Jacob Henry
2019-03-03 20:34:55 -05:00
parent a83df7538d
commit 087a44d91c
+1 -1
View File
@@ -187,7 +187,7 @@ class TestPassive(hooks.Passive):
# Make our callbacks
async def on_click(event: slack_util.Event, response: str):
# Edit the message to show the result.
client.get_slack().edit_message(response, event.conversation.conversation_id, event.message.ts, None)
client.get_slack().edit_message(response, event.conversation.conversation_id, event.message.ts, [])
def on_expire():
client.get_slack().edit_message("Timed out", "#botzone", msg_ts, [])