Closed aimless55 closed 8 years ago
Currently you can only post to channels and private groups. I'll leave this open to track adding support for direct message though.
:+1:
Posting to direct message added in latest release
Is there a new flag to use this feature? I tried just substituting a user name for the channel, but got "missing_scope":
echo "testing..." | ~/Downloads/slackcat-0.8-darwin-amd64 -c username
missing_scope
slackcat Slack API Error: No such channel, group, or im
I tried @username
and '@username'
, too, same error. Messaging channels still works fine.
@toejough -- there is no specific flag, but the feature does require a new permission scope(users:read) to work. You should be able to enable this by re-generating a new token with --configure
.
ah, that makes sense. aaaand verified. thank you very much, this is a really cool tool!
Great! Glad you're enjoying it :)
Not quite working for me, has this feature been disabled?
I'm also getting
slackcat connected to DPI-691M as dhrumil.mehta
slackcat No such channel, group, or im
I know the username is spelled correctly, and I'm on slackcat version 1.4, build
Thanks.
@dmil can you verify the username you're using matches what's shown in the output of slackcat --list
?
Can I use this to post a file into a direct message, or does it only work for channels?