For instructions on setting-up a Slack bot see: https://api.slack.com/start/building/bolt-js
For installing the dependencies, run yarn install
or npm install
.
The bot needs the Slack signing secret and bot token. You can get them from the Slack website.
SLACK_SIGNING_SECRET
SLACK_BOT_TOKEN
PORT
(optional) - defaults to3000
Run the bot with yarn run start
or npm start
.