paint-brush
Writing a Slack Bot that Responds to Action Commandsby@tommyvn
1,269 reads
1,269 reads

Writing a Slack Bot that Responds to Action Commands

by Tom VN2mSeptember 24th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

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' )

Company Mentioned

Mention Thumbnail
featured image - Writing a Slack Bot that Responds to Action Commands
Tom VN HackerNoon profile picture
Tom VN

Tom VN

@tommyvn

L O A D I N G
. . . comments & more!

About Author

Tom VN HackerNoon profile picture
Tom VN@tommyvn

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Learnrepo
Coffee-web