diff options
author | Ryan Huber <rhuber@gmail.com> | 2014-09-22 10:13:44 -0700 |
---|---|---|
committer | Ryan Huber <rhuber@gmail.com> | 2014-09-22 10:13:44 -0700 |
commit | c429013a8837791824f015a1a53d4900dd8a623a (patch) | |
tree | 064b3bab0f4b9aaad83bbb85a58d1e446968215a | |
parent | 11d07f352d5c36375781ab2ef007f0eba6a4176e (diff) | |
download | wee-slack-c429013a8837791824f015a1a53d4900dd8a623a.tar.gz |
call new API method
-rw-r--r-- | wee_slack.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py index 9fad0cd..ab94091 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -293,7 +293,7 @@ def connect_to_slack(): global login_data, nick, connected, general_buffer_ptr, nick_ptr, name, domain data = {} t = int(time.time()) - request = "users.login?t=%s" % t + request = "rtm.start?t=%s" % t data["token"] = slack_api_token data = urllib.urlencode(data) reply = urllib.urlopen('https://slack.com/api/%s' % (request), data) |