I have created a custom Slack bot that takes advantage of Slacks RTM API. I have installed the Slack Node Package and have everything working properly. The issue that I am having is that I am running several instances of my Node API. Every time some sends a message in Slack, each instance of the API receives that message and attempts to perform the same functions across all the APIs.
I also am using Redis with my application and thought it might offer some functionality that would help solve this issue. I am having trouble locating a proper solution. What would be the best way to connect to the Slack RTM API to an API running multiple instances at all times?
via tonestrike
No comments:
Post a Comment