Open sniktawnodnarb opened 5 years ago
I get the same message even after picking admin.
see also https://github.com/sgratzl/slack-cleaner#minimal-slack-permission-scopes-required in my fork. There is a PR for this in this repository but never merged
When I was trying to delete the bot messages from a channel after a certain date through the command slack-cleaner --token <TOKEN> --message --channel <CHANNEL> --user "*" --after <DATE>
, I was getting the same error. So, I had to look at the source code and then check the respective Slack API methods called to see the required scopes. I'd like to take up this issue and add a seperate file to list the required scopes.
in the fork there is https://github.com/sgratzl/slack-cleaner/pull/49/files which would contain some longer instructions. However, my feedback was not included so far, thus I haven't merge it yet. You could take a look at it and suggest some improvements.
Can someone let me know what scopes are required to delete a message from a #general channel? I keep getting slacker.Error: missing_scope messages. Kinda strange this isn't in the README.