diff options
Diffstat (limited to 'wee_slack.py')
-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) |