Bot that sends daily updates of Indico events to Slack.
Indico Slack Bot (ISB) is a Bolt bot that connects Indico events to Slack. ISB has two primary features:
- Automated messages that promote the day's events in the designated slack channel (#fi-events).
- A slash command
/indico [DATE]
that returns events for the date specified.
Currently installation is only available via manual authorization on Slack. Should you wish to install this app on your own Indico instance, please contact the developer.
First things first, to run a new local instance of Indico Slack Bot, you will need to create a new Slack app and store the client and bot tokens in a .env
file. Slack requires a valid public url to be live and answering a ping to the response url /slack/events
before they will generate the bot user token. Try ngrok to temporarily expose your local webserver during development.
ISB uses Babel to compile backwards compatible JS and ESLint to tidy things up:
npm run build
To start ISB locally run:
npm run start
ISB is hosted on an AWS EC2 instance using PM2 process manager. Once you have accessed the AWS instance, you must remember to run npm run build
before calling the pm2 process script.
Contributions welcome!
See CONTRIBUTING.md.
Apache Version 2.0
See LICENSE.