(self)
Connects to the chat system.
Connects to the chat system.
Connects to the chat system .
def connect(self):
        # type: () -> None
        '''Connects to the chat system.'''
        logging.info('Attempting to start Slack RTM session.')
        if self._slack.rtm_connect():
            logging.info('Slack RTM connection successful.')
        else:
            raise ChatException('Unable to start Slack RTM session')
def connect ( self ) : # type: () -> None logging . info ( 'Attempting to start Slack RTM session.' ) if self . _slack . rtm_connect ( ) : logging . info ( 'Slack RTM connection successful.' ) else : raise ChatException ( 'Unable to start Slack RTM session' )