Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list of required scopes? #73

Open
sniktawnodnarb opened this issue Jan 28, 2019 · 4 comments
Open

list of required scopes? #73

sniktawnodnarb opened this issue Jan 28, 2019 · 4 comments

Comments

@sniktawnodnarb
Copy link

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.

@svagml
Copy link

svagml commented Feb 11, 2019

I get the same message even after picking admin.

@sgratzl
Copy link

sgratzl commented Feb 13, 2019

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

@aaditkamat
Copy link

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.

@sgratzl
Copy link

sgratzl commented Jun 11, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants