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

Always show 0 messages to delete or can't find. #61

Open
Gmagella opened this issue Mar 14, 2018 · 3 comments
Open

Always show 0 messages to delete or can't find. #61

Gmagella opened this issue Mar 14, 2018 · 3 comments

Comments

@Gmagella
Copy link

I'm trying "slack-cleaner --token "xoxp-XXX" --message --channel "geraldotest"" and it's only listing 0 messages, no matter what....

Also tryed:
slack-cleaner --token "xoxp-XXX" --message --direct user1--user me_user2
I get:
Running slack-cleaner v0.3.0
Channel, direct message or private group not found

Any hint on what might be happening? Any way that I can see debugging info?
Thank you.

@pankaz
Copy link

pankaz commented Mar 29, 2018

The following command worked for me:

slack-cleaner --token=xoxp-XXX --message --channel=general --bot --perform --rate 1

@sgratzl
Copy link

sgratzl commented Apr 3, 2018

re first case: you have to add --user=* to select all users in this channel
re second case: are you sure that the user1 has really that name? like in my case the visual name is different from the internal name

@shruthibadri
Copy link

Your username is different form first name and @name. Slack is phasing out showing usernames, but if you need to check what yours is, you can check here: https://api.slack.com/methods/users.list/test

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