slackapi / python-slack-events-api

Slack Events API adapter for Python (Flask required)
https://api.slack.com/events
MIT License
343 stars 116 forks source link

Not getting channel events except "at mention" events #78

Closed rcsrao closed 4 years ago

rcsrao commented 4 years ago

We have below permissions set for our app and for the past few hours we are not getting any events which we have posted on the channel except "at mention" events. Anything changed?

Also direct messages to app working without at mention.


Event Name | Description | Required Scope
app_mention | Subscribe to only the message events that mention your app or bot | app_mentions:read |  
message.channels | A message was posted to a channel | channels:history |  
message.im | A message was posted in a direct message channel | im:history
seratch commented 4 years ago

@rcsrao Have you invited your app's bot user to the channels? For direct messages, a bot user cannot receive message events in a channel the bot use is not a member of.

rcsrao commented 4 years ago

@seratch Yeah, bot is already a member of channel and it was working till a few hours before.

rcsrao commented 4 years ago

It'started working again! Must be something changed on Slack end!

seratch commented 4 years ago

The weird behavior on the Slack side is not good but I'm glad to know your issue has been resolved.