slack-cleaner icon indicating copy to clipboard operation
slack-cleaner copied to clipboard

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

Open angieology-zz opened this issue 6 years ago • 6 comments

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 avatar Aug 26 '18 12:08 angieology-zz

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

angieology-zz avatar Aug 26 '18 12:08 angieology-zz

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

cjbirk avatar Sep 03 '18 15:09 cjbirk

+1

davidseek avatar Apr 03 '19 18:04 davidseek

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

rajinder-yadav avatar Apr 08 '19 18:04 rajinder-yadav

@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".

davidseek avatar Apr 08 '19 19:04 davidseek

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

eotp avatar Jun 30 '19 01:06 eotp