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

Channel, direct message or private group not found/User ID? #68

Open
angieology-zz opened this issue Aug 26, 2018 · 6 comments
Open

Channel, direct message or private group not found/User ID? #68

angieology-zz opened this issue Aug 26, 2018 · 6 comments

Comments

@angieology-zz
Copy link

I'm running
slack-cleaner --token xx-xxx-xxx --message --direct U000000 --user U000001 --before 2018-08-01
user U000000 is my user ID (copied from slack, under user "userID") and the U000001 person I have direct message with, this channel definitely exists but I'm getting direct message not found. Am I using the wrong userID? ie. should I use their email, not sure because there is no username on my slack channel ie "johndoe" the format is "john doe" and is a first/last name string

@angieology-zz
Copy link
Author

I see that slack deprecated usernames for UserIDs... I'm using userID's and it doesnt seem to be able to find direct messages

@cjbirk
Copy link

cjbirk commented Sep 3, 2018

I'm not even able to delete private messages when specifying the user who i've chatted with. It just says user not found.

@davidseek
Copy link

+1

@rajinder-yadav
Copy link

I keep getting user not found error, it doesn't work on strings like "Joe Blow"

@davidseek
Copy link

@rajinder-yadav perform the same call with --info at the end.
That will list you all the usernames.

This way I found the directmessage channel I tried to find on a string like "Joe Blow".

@eotp
Copy link

eotp commented Jun 30, 2019

Same problem here, when trying to delete a direct messages I get Channel, direct message or private group not found.

@davidseek --info just gives me slack-cleaner: error: unrecognized arguments: --info

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

5 participants