Skip to content

Commit 8a0c87e

Browse files
delete action_button_click(body, ack, say) (#507)
The document of getting_started.md has not already been implemented action_button_click at this time.
1 parent e112c7e commit 8a0c87e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

docs/_tutorials/ja_getting_started.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -228,12 +228,6 @@ def message_hello(message, say):
228228
text=f"Hey there <@{message['user']}>!"
229229
)
230230

231-
@app.action("button_click")
232-
def action_button_click(body, ack, say):
233-
# アクションのリクエストを確認
234-
ack()
235-
say(f"<@{body['user']['id']}> clicked the button")
236-
237231
# アプリを起動します
238232
if __name__ == "__main__":
239233
SocketModeHandler(app, os.environ["SLACK_APP_TOKEN"]).start()

0 commit comments

Comments
 (0)