code: function handleJoinRequestId (jar, token, accept, requestId) {
    var httpOpt = {
      url: '//www.roblox.com/group/handle-join-request',
      options: {
        method: 'POST',
        jar: jar,
        form: {
          groupJoinRequestId: requestId
        },
        headers: {
          'X-CSRF-TOKEN': token
        },
        resolveWithFullResponse: true
      }
    };
    if (!accept) {
      httpOpt.options.form.accept = false;
    }
    return http(httpOpt)
    .then(function (res) {
      if (res.statusCode === 200) {
        if (!JSON.parse(res.body).success) {
          throw new Error('Invalid permissions, make sure the user is in the group and is allowed to handle join requests');
        }
      } else {
        throw new Error('Invalid status: ' + res.statusCode + ' ' + res.statusMessage);
      }
    });
  }
docs: Define