kfei / slack-cleaner

:speech_balloon: Bulk delete messages and files on Slack
MIT License
1.24k stars 144 forks source link

Document TOKEN must be user (invalid_scope) #72

Open Gerardwx opened 5 years ago

Gerardwx commented 5 years ago

I had an existing token I tried to with slack-cleaner; it failed with a cryptic _invalidscope error. Eventually I found documentation that certain APIs only work with user tokens (ones that start wtih xoxp and not bot tokens xoxb).

A quick note on the documentation might save others some trouble.