diff --git a/slacker/__init__.py b/slacker/__init__.py index d9551ca..db1c18a 100644 --- a/slacker/__init__.py +++ b/slacker/__init__.py @@ -550,6 +550,9 @@ def start(self, simple_latest=False, no_unreads=False, mpim_aware=False): 'mpim_aware': int(mpim_aware), }) + def connect(self): + return self.get('rtm.connect') + class TeamProfile(BaseAPI): def get(self, visibility=None): @@ -882,4 +885,3 @@ def __init__(self, token, incoming_webhook_url=None, self.usergroups = UserGroups(token=token, timeout=timeout) self.incomingwebhook = IncomingWebhook(url=incoming_webhook_url, timeout=timeout) -