code: def on_heartbeat(self, message):
          
  
          logger.info("Got a heartbeat")
          logger.info("Heartbeat message: {}".format(message))
          self.heartbeat_thread.update_sequence(message['d'])
          return
docs: Runs on a heartbeat event from websocket connection
  
          Args:
              message (dict): Full message from Discord websocket connection"