-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Slack's "file_shared" event not triggered in channels #428
Comments
I have the same problem with latest master, it even doesn't not work in groups |
@christian-bick Try listening to EDIT: To clarify,
Oddly enough, the I think this is one of the many quirks of the RTM api, while trying to replicate your issue I ran into some inconsistency in Please do report back if this solves your issue 😄 |
@christian-bick Did it fix your issue? |
I fixed my issue, Thanks |
Closing as resolved |
I'm using botkit 0.2.2 with Slack via the RTM-API and want to my bot to react to files being uploaded/shared by users in groups and channels.
The following code works fine for listening to "file_shared" events in groups:
But when a file is uploaded/shared in a channel then the event is not being triggered.
According to the Slack API, the "file_shared" event is the one that should be triggered in my use case. I also tried other event types like "file_created" and "file_public" to make sure that I don't misinterpret anything but as expected that didn't work as well.
I'm running botkit on node 6.5 within in a multi-team setup managed by beepboop-botkit.
The text was updated successfully, but these errors were encountered: