@os hi. Is there configuration manual for this wrapper ?
@jeyraof Configuration is very straightforward. All you need to do is to use your Slack token. Slacker follows the same API naming as the original Slack API, even the parameter names are the same. Have you looked at the README file for examples?
Yep, thanks. I've seen 'init.py for selecting parameters. XD
Great! Glad to hear that. Enjoy.
Thank you for awesome lib lol.
No worries. I'm glad you liked it :)
yo, I opened #39 if you want to chat
I tried to use files.upload, which worked, but the thing is that channels attribute didn't seem to work
@os Hi, I opened PR for pep8 check. Please review.
Opened PR #47 for bringing presence from users.list into responses. I've done it in such a way that you can just pass in presence=True and the function will supply 1 or 0 as I felt that was more pythonic
Hi have a question. I am self tough and new to using none standard lib libs so I am sorry if this is a dumb question. I was able to get things working nicely in Python 3.4.3 but not in Python 2.7.2. This is the error I get , I was wondering if any one had any idea what this is and what the problem could be? Thank you very much for a sweet lib. "Warning (from warnings module): File "C:\Python27\lib\site-packages\requests\packages\urllib3\util\ssl_.py", line 90 InsecurePlatformWarning InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning."
Hi, I seemed have gotten it to work, the way installed it must of been wacky, so deleted my python install and did it properly and it now is working.
my bot seems to be set to away by default. i;ve tried using slack.users.set_active() to no avail. any suggestions?
I'm trying to use slash commands with my slack app. Can slacker help with that?
Within the past couple of days, all attempts at uploading files to slack have failed. They have repeatedly sent back the "no_file" error from slack. This issue has occurred on 0.9.10 and after upgrading, it continues to happen on 0.9.15. Even when using your example that you have on your README, it still has the same issue.
And then when I use slack.files.upload(file='<filename>') it errors back: "TypeError: upload() got an unexpected keyword argument 'file'"
So it seems that the slack API requires either a file or content argument, however Slacker isn't sending one.
@AshleyJacksonupload takes a file_ argument, not file
Using file_ brings back the same result "slacker.Error: no_file"
I haven't tried it yet but it seems like API signature has changed as well (now it requires file or content which used to be file only). I'll look into that tonight (GMT+10)
@AndrezAguayo Documentation says "This method lets the slack messaging server know that the authenticated user is currently active". My understanding is that it only makes the current user (token owner) active, not the bot user. See https://api.slack.com/methods/users.setActive.