Realized that only expirations actually got fixed.
This commit is contained in:
parent
a83df7538d
commit
087a44d91c
|
|
@ -187,7 +187,7 @@ class TestPassive(hooks.Passive):
|
||||||
# Make our callbacks
|
# Make our callbacks
|
||||||
async def on_click(event: slack_util.Event, response: str):
|
async def on_click(event: slack_util.Event, response: str):
|
||||||
# Edit the message to show the result.
|
# 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():
|
def on_expire():
|
||||||
client.get_slack().edit_message("Timed out", "#botzone", msg_ts, [])
|
client.get_slack().edit_message("Timed out", "#botzone", msg_ts, [])
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue