candrholdings / slack-cli

A command line interface for Slack implemented using node.
https://candrholdings.github.io/slack-cli/
287 stars 31 forks source link

"Pinning a file is not supported" without -p option #14

Closed timbremer closed 8 years ago

timbremer commented 8 years ago

Hi, awesome tool! I only have one problem: I'm trying to send a file (don't know if I'm doing it right, I'm specifying the path as file name) but is shows me this error: { error: { err: 'pinning a file is not supported', message: undefined } } which is really strange because I am not using the -p option for pinning the message.

timbremer commented 8 years ago

16 didn't fix this error:

$ slackcli -h ****** -f app/build/outputs/apk/app-beta-debug.apk -m "New test apk:" -u ****** -i https://bytebucket.org/************/web_hi_res_512.png?token=************ error: { error: { err: 'pinning a file is not supported', message: undefined } }

jghaines commented 7 years ago

This issue should be reopened. On slack-cli@1.0.18

$ export SLACK_TOKEN=##### $ slackcli --file ### --channel ### error:
{ error: { err: 'pinning a file is not supported', message: undefined } }

timbremer commented 7 years ago

This issue is still present, please reopen.

sehe commented 5 years ago

Issue still present. Please reopen.

obelich commented 4 years ago

I have the same issue :( some one know how to force to upload ?