hubot-slack icon indicating copy to clipboard operation
hubot-slack copied to clipboard

`hearReaction` fails to handle reactions

Open harishgonnabattula opened this issue 7 years ago • 0 comments

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:

  1. Add a new hearReaction event listener to hubot.
  2. React to a message in a channel where hubot is present.
  3. Nothing happens.

Expected result:

Hubot needs to perform the code in the callback

Actual result:

No result. Hubot doesnt call the callback function

harishgonnabattula avatar Oct 15 '19 06:10 harishgonnabattula