Closed magroski closed 9 years ago
looking back that seems like the sensible thing to do, thanks for bringing that up! @magroski
Don't forget to push the changes to npm :)
I wont! I'm still working on a bit of documentation and I'll then update npm with the new version!
I was testing multiple events using your code and I noticed that this block of code
is blocking the bot from processing
presence_change
events.Adding
cb(null, messageData);
after the for loop easily solve this problem.https://github.com/xBytez/slackbotapi/blob/master/lib/rtm.js#L240