I have developed a slack bot (which is part of my an existing node.js app) which works fine on my dev environment.
But as soon as I deployed this on my staging instance of the app, it started responding to me with duplicate message.
My staging server (example.com) consists of 2 machines for HA, and code gets deployed on both the machine. So I dobut, since bot is running on both the machine, its giving me duplicate replies.
Can anyone please let me know how to ask bot to reply from either of the server. Or let the bot reply only once.
I hope my question is clear, let me know if you need any mroe info.