hubot-slack
hubot-slack copied to clipboard
`hearReaction` fails to handle reactions
Description
hearReaction method which listens to reactions on messages and allows us to handle on reactions doesnt seem to catch the events.
What type of issue is this? (place an x in one of the [ ])
- [X] bug
- [ ] enhancement (feature request)
- [ ] question
- [ ] documentation related
- [ ] testing related
- [ ] discussion
Requirements (place an x in each of the [ ])
- [X] I've read and understood the Contributing guidelines and have done my best effort to follow them.
- [X] I've read and agree to the Code of Conduct.
- [X] I've searched for any related issues and avoided creating a duplicate issue.
Reproducible in:
hubot-slack version:4.7.1
Steps to reproduce:
- Add a new hearReaction event listener to hubot.
- React to a message in a channel where hubot is present.
- Nothing happens.
Expected result:
Hubot needs to perform the code in the callback
Actual result:
No result. Hubot doesnt call the callback function