aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2014-09-22 10:13:44 -0700
committerRyan Huber <rhuber@gmail.com>2014-09-22 10:13:44 -0700
commitc429013a8837791824f015a1a53d4900dd8a623a (patch)
tree064b3bab0f4b9aaad83bbb85a58d1e446968215a /wee_slack.py
parent11d07f352d5c36375781ab2ef007f0eba6a4176e (diff)
downloadwee-slack-c429013a8837791824f015a1a53d4900dd8a623a.tar.gz
call new API method
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py2
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)