mr-exz / whoisondutytoday

Slack bot for scheduling duties and escalation
MIT License
6 stars 1 forks source link

Check Slack classic apps permissions/integration #62

Open mr-exz opened 3 years ago

mr-exz commented 3 years ago

Warning: As of December 4th, 2020 Slack no longer accept resubmissions from apps that are not using granular permissions, or so-called "classic apps". On November 18, 2021 Slack will start delisting apps that have not migrated to use granular permissions. This library implements legacy, real-time support for classic apps. You should not be building a new bot with it and use slack-ruby-bot-server-events instead. For a rudimentary bot you can even start with slack-ruby-bot-server-events-app-mentions. See MIGRATION for migration help.

mr-exz commented 3 years ago

https://github.com/slack-ruby/slack-ruby-bot/blob/master/MIGRATION.md

mr-exz commented 3 years ago

Opened issue to clarify situation https://github.com/slack-ruby/slack-ruby-bot/issues/278

mr-exz commented 3 years ago

We need migration from RTM usage at all.

mr-exz commented 3 years ago

RTM is only available with Classic Apps, not New Apps so you won't be able to upgrade it to the latest granular permissions:

https://api.slack.com/rtm

We don't have plans to deprecate Classic Apps at this stage (no time frame) so you can still use them for now. However it is possible that this could change (you would receive a warning to then update before this happened though).

We recommend moving to Socket Mode if possible:

https://api.slack.com/apis/connections/socket

You can see a list of events that are supported in Socket Mode (Events API) vs RTM below. Anything not listed as Events API but shows as RTM is not possible with Socket Mode.

https://api.slack.com/events