def update_presence(data)
      @status = data['status'].to_sym

      if data['game']
        game = data['game']

        @game = game['name']
        @stream_url = game['url']
        @stream_type = game['type']
      else
        @game = @stream_url = @stream_type = nil
      end
    end
def update_presence(data)
      @status = data['status'].to_sym

      if data['game']
        game = data['game']

        @game = game['name']
        @stream_url = game['url']
        @stream_type = game['type']
      else
        @game = @stream_url = @stream_type = nil
      end
    end
Set the user's presence data
 @note for internal use only
 @!visibility private