cmcn / stronger-jerry

0 stars 0 forks source link

Migrate to Events API #5

Open cmcn opened 5 years ago

cmcn commented 5 years ago

We currently use the RTM (real-time messaging) API through the slackbotapi package: https://github.com/xBytez/slackbotapi

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.

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.

cmcn commented 5 years ago

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.