slack-cleaner
slack-cleaner copied to clipboard
Channel, direct message or private group not found/User ID?
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
I see that slack deprecated usernames for UserIDs... I'm using userID's and it doesnt seem to be able to find direct messages
I'm not even able to delete private messages when specifying the user who i've chatted with. It just says user not found.
+1
I keep getting user not found error, it doesn't work on strings like "Joe Blow"
@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".
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