Writing a Slack Bot that Responds to Action Commands

Written by tommyvn | Published 2020/09/24
Tech Story Tags: ssh | ssh-tunnel | webhook | slack | productivity-tools | slack-bot | programming | coding

TLDR Writing a Slack Bot that Responds to Action Commands is a great place to start, but what wasn’t clear to me was that the example describes events, not actions, which is what I’ll describe here. You need to tell bolt that you want to listen for commands, not just events. Make sure your code explicitly says this because the example, at the time of writing this, doesn't mention this:const { App, LogLevel, ExpressReceiver } = require ( '@slack/bolt' )via the TL;DR App

no story

Published by HackerNoon on 2020/09/24