The app-mention event (this function) is triggered multiple times sometimes. I have observed it being triggered upto a total of 4 times maximum. Many times just 2-3 times too.
Expected behavior
It should be triggered just once per mention/message.
Steps to reproduce
Run the example and then wait for some time after mentioning the bot. The Yes, hello (from here) message is posted after a few seconds or minutes again.
What happened
The app-mention event (this function) is triggered multiple times sometimes. I have observed it being triggered upto a total of 4 times maximum. Many times just 2-3 times too.
Expected behavior
It should be triggered just once per mention/message.
Steps to reproduce
Run the example and then wait for some time after mentioning the bot. The
Yes, hello
(from here) message is posted after a few seconds or minutes again.reproducible code
https://github.com/slack-go/slack/blob/00d0e9a995c975504c6db72b35c9da491e493ae2/examples/socketmode_handler/socketmode_handler.go
manifest.yaml
Versions
go1.23.2 darwin/amd64
v0.15.0