code: def run(self):
          '''Extends the run() method of threading.Thread
          '''
  
          self.connect()
          while True:
              for event in self.slack_client.rtm_read():
                  logger.debug(event)
                  if 'type' in event and event['type'] in self.supported_events:
                      event_type = event['type']
                      dispatcher = self.supported_events[event_type]
                      message = dispatcher(event)
                      logger.debug(message)
                      self.baseplate.tell(message)
              self.keepalive()
              time.sleep(0.1)
          returf run(self):
          '''Extends the run() method of threading.Thread
          '''
  
          self.connect()
          while True:
              for event in self.slack_client.rtm_read():
                  logger.debug(event)
                  if 'type' in event and event['type'] in self.supported_events:
                      event_type = event['type']
                      dispatcher = self.supported_events[event_type]
                      message = dispatcher(event)
                      logger.debug(message)
                      self.baseplate.tell(message)
              self.keepalive()
              time.sleep(0.1)
          return
docs: Extends the run() method of threading.Thread