Andrea
Andrea

Reputation: 795

Which scope for bot direct message?

I've successfully created a slack bot, with the following scopes: app_mentions:read, chat:write, im:read, incoming-webhook.

The bot reacts to app mentions in channels, but not on direct (private) messages. Am I missing a scope?

Upvotes: 1

Views: 481

Answers (1)

Andrea
Andrea

Reputation: 795

To whom will come after: you need to subscribe to the message.im bot event in order to be notified of DMs.

Upvotes: 1

Related Questions