Simple slackbot for responding to messages containing a Piazza post number.
Based on regexbot by sjmelia.
Go to HOW-TO-UPDATE.md for instructions on how to update your deployment to the latest version.
SLACK_API_TOKENused by the Heroku app.
SIGNING_SECRETused by the Heroku app.
Finally, in your Slack workspace, invite the bot user to any channels you wish it to have access to.
By default, this bot uses the Slack Events API to listen to messages. This allows the bot to work on free-tier Heroku dynos, for example, because it uses HTTP requests rather than websockets. If you have a persistent server and would like to use the Slack Real-Time Messaging API instead, set the
USE_RTM environment variable (to anything).
npm test to lint and run tests