From e683d4365e863c2ed04f8ae2c337a437da3c0a4f Mon Sep 17 00:00:00 2001 From: Shane DeWael Date: Wed, 24 Apr 2019 14:44:43 -0700 Subject: [PATCH] action doesn't have a user id --- docs/_tutorials/getting_started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_tutorials/getting_started.md b/docs/_tutorials/getting_started.md index be6d40f32..f76a0379a 100644 --- a/docs/_tutorials/getting_started.md +++ b/docs/_tutorials/getting_started.md @@ -289,10 +289,10 @@ app.message('hello', ({ message, say }) => { }); }); -app.action('button_click', ({ action, ack, say }) => { +app.action('button_click', ({ body, ack, say }) => { // Acknowledge the action ack(); - say(`<@${action.user}> clicked the button`); + say(`<@${body.user.id}> clicked the button`); }); (async () => {