The RTM API requires a lot of work handling web sockets that we don't really need to deal with for Jerry. The Events API would be a better choice for what Jerry actually does.
This will require switching to only a web dyno on Heroku. We need open API endpoints for the Events API and so we'll have to switch everything over to a web dyno in order to keep Jerry free.
We currently use the RTM (real-time messaging) API through the
slackbotapi
package: https://github.com/xBytez/slackbotapiThe RTM API requires a lot of work handling web sockets that we don't really need to deal with for Jerry. The Events API would be a better choice for what Jerry actually does.
Slack released their own sdk for node.js: https://slackapi.github.io/node-slack-sdk/. We should use this to integrate with the Events API instead.