The CSSC Slack Bot is a very simple Slack bot that enables users to send anonymous ideas enabling discussion amongst the team. It is built with NodeJS using Slack's Bolt API (https://slack.dev/bolt-js/concepts)
Requires: Node.js
This guide was used for getting started: https://blog.logrocket.com/build-a-slackbot-in-node-js-with-slacks-bolt-api/
- Create a Slack Bot Account
yarn
- Create a .env file with the following contents:
TOKEN=
SIGNING_SECRET=
APP_TOKEN=
- Use
node index.js
to run the bot!
The bot is deployed on a Heroku Hobby Dyno.
- Create a heroku app or set an existing one as the remote for this git repo
git push heroku main
heroku logs --tail
to debug issues