Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Oktay Sancak
    @os
    @Astayonix You can respond to slash commands using Slacker, however Slacker doesn't have RTM support so you can't listen to channels in real-time.
    Ashley Jackson
    @AshleyJackson
    This message was deleted
    @os Just tested it myself. Apparently it returns a "no_file" when the file itself has no data in it. I tested it with a file that had at least a Byte and it worked. It still doesn't explain why original script stopped working. I will keep you posted if I find anything. Thanks.
    Oktay Sancak
    @os
    @AshleyJackson Cool, no worries
    OliPicard
    @OliPicard
    @os Thanks for making this amazing lib, I noticed you have support for oauth however I cannot find any exmaples where this has been used? I know your improving the docs and thought it might be a good idea to suggest adding an oauth verification example. Thanks again :)
    Oktay Sancak
    @os
    @OliPicard Thanks! I haven't used it myself but Slacker's method signatures should exactly match with the official API. You might want to look at https://api.slack.com/methods/oauth.access and https://api.slack.com/docs/oauth for more information. I'll try to add more examples once I get a chance.
    Timo Furrer
    @timofurrer
    I could not find any information on how to get an API token other than a test token. I just want to post a message to a channel on slack on a certain event which happens in a separate application
    Anatoly
    @Sindbag
    hey, did any one catch that bug with usergroups.update method: when I'm trying to change group name to the same but with another case (from lower to upper, for example) it raises error "name_already_exists"
    Oktay Sancak
    @os
    @timofurrer You can create one from https://api.slack.com/docs/oauth-test-tokens
    Hey @Sindbag. Maybe Slack doesn't support case-sensitive naming.
    Anatoly
    @Sindbag
    actually it seems they use case insensitive names for usergroup creation/updates, but it's possible to have them case-sensitive. I guess I have to report this bug
    if anyone interested in create method for users and delete for usergroups
    also made pull-request to Slacker
    btw, Slack Team answered my question in twitter and usergroup.update really does not work with case-sensetive name changes, but should, so they will check it
    Shreyas Shinde
    @anythingrandom
    https://github.com/anythingrandom/slack-file-uploader
    wrote an implementation of slacker - A python script for uploading files to a slack channel. Also opened a pull request to slacker. os/slacker#85
    MstWntd
    @MstWntd

    The line "from slacker import Slacker" keeps giving me the error "ImportError: cannot import name Slacker"

    Note I have slacker installed..

    pip freeze | grep -i slacker
    slacker==0.9.29

    any ideas?..
    tytremblay
    @tytremblay
    anyone around?
    im trying to use slacker on google app engine and im getting an import error "ImportError: No module named slacker"
    girt-s
    @girt-s
    Hi,
    Is there a plan to release a new version? There is "thread" functionality in Slack existing for some time now. I can see it is added in github a while ago, but pypi still contains old code without threads
    Oktay Sancak
    @os
    Hey @girt-s. Sorry for the inactivity, I was busy with work. A couple of days ago we released v0.9.50.
    Brian Short
    @RufusTFir3fly_twitter

    Followed the examples and was able to post messages and play with channels and groups, however I'm having trouble with profiles and user modifications.

    Does anyone have a sample of how to pass slack.users.profile.get correctly? Having trouble with the arguments and continually get "user_not_found". And yes, i have the read.profile scope already tied to the python script. =]

    Any help is appreciated. Looking to leverage this tool to iterate user modifications and migrate users to a new email \ domain.

    Trevor Welch
    @trevorwelch
    Is Slacker only intended for use with the Legacy API tokens / test tokens?
    techied
    @techied
    Is there a way to recieve commands?