by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Airat Asadullin
    @Kadae
    error: general not found
    error:
    { error:
    { err: 'general not found',
    message: undefined } }
    this is what i see when try to post to general
    and
    -bash: SET: command not found
    so I can't set token. Any help?
    Raymond Wong
    @raymondkpwong
    set is not the command for bash. are you using slack-cli.sh from npm?
    you can follow wiki for help.
    Airat Asadullin
    @Kadae
    hmm, I did install slack-cli from npm but cant find this slack-cli.sh
    Airat Asadullin
    @Kadae
    $ slackcli -t MYTOKEN
    error: { error: { err: 'group and channel not found', message: undefined } }
    Raymond Wong
    @raymondkpwong
    do all the things at the same time. $slackcli -t MYTOKEN -g group -m "Hello!"
    Airat Asadullin
    @Kadae
    error: general not found
    error:
    { error:
    { err: 'general not found',
    message: undefined } }
    Raymond Wong
    @raymondkpwong
    the group general is not found. are you really referring to a group or a channel?
    general is a channel
    slackcli -t MYTOKEN -h channel_name -m "Hello World!"
    Airat Asadullin
    @Kadae
    yes, now its work. Thank you very much!
    do I need every time use long all things?
    what if I want write only message...
    Raymond Wong
    @raymondkpwong
    MYTOKEN can be set in the environment variable.
    like SET SLACK_TOKEN=xoxo-12345678-12345678-12345678-123abc
    then, you don't need to specify it. so, $ slackcli -h general -m "Hello!"
    use small caps "set" in bash
    I don't know much about bash
    Airat Asadullin
    @Kadae
    me too :D Thank you!
    Airat Asadullin
    @Kadae
    Hi, it's me again. I just want to know how to use formatting like >>> (quote for second line). > is work, but >>> is not. And \n (line break) is not working also.
    bold and italic is work perfect, but I need second line.
    Raymond Wong
    @raymondkpwong
    Please file the issue.
    Paul Taykalo
    @PaulTaykalo
    Bupm. Just added PR for the "as_user" and "pin" functionality
    Mathieu Jobin
    @mathieujobin
    hello
    does slack-cli support searching through the entire slack hsitory? all channels I have access to ?
    would it be hard to add that feature?
    I'd like the full output of the search in text, simply...
    Mathieu Jobin
    @mathieujobin
    thanks guys ! you've given me the motivation to dig a little further and I wrote my script using this API call https://api.slack.com/methods/search.messages
    Martin Proks
    @matq007
    Hey guys, any change someone can give an example on the multiliner ? I have a bash script like this: MESSAGE="IP Address: $IP - $HOST\nLocation: $CITY, $REG, $COUNTRY $MAP_LINK\nOrganization: $ORG, $POSTAL" but when I try to print it it's a one liner with "\n" in the actual message in the slack. I am sending after that with -m "$MESSAGE". Any ideas how to make it work?
    Martin Proks
    @matq007
    Ok I fined a workaround, I've created another variable MSG=$(echo "$MESSAGE") and that I pass to -m argument
    Michael Bøcker-Larsen
    @mblarsen
    Does slack-cli support attachments (with fields)?
    Dhrumil Mehta
    @dmil
    Hi, anyone else having this issue? candrholdings/slack-cli#20
    not sure if its a bug or if I'm doing something wrong, but having trouble sending a file
    Dhrumil Mehta
    @dmil
    Update: This is only an issue with sending message to a user, works fine if I send to a group
    MyFlower
    @MyFlower
    Hello, is there any option to add a line break in message? Something like \n?
    humanier
    @humanier
    Hi guys, I was wondering if the project is active still? The last commit was more than a year ago.
    Just created a pull request but now I am not sure if it makes more sense to go ahead with fork of the project
    Kidd
    @KiddKoder
    Hi room :) , before i go learning slack-cli, will this only allow me to send message but no receive on slack?
    Simone Arpe
    @simonarpe_twitter
    Hi there, I've played a bit with slack cli apis. I was not been able to send newlines. Anyone has come up with a solution?