banUser ({
    name,
    ban_message, banMessage = ban_message,
    ban_reason, banReason = ban_reason,
    duration,
    ban_note, banNote = ban_note
  }) {
    return this._friend({
      name, ban_message: banMessage,
      ban_reason: banReason,
      duration,
      note: banNote,
      type: 'banned'
    });
  }
/**
  * @summary Bans the given user from this subreddit.
  * @param {object} options
  * @param {string} options.name The username of the account that should be banned
  * @param {string} [options.banMessage] The ban message. This will get sent to the user in a private message, alerting them
  that they have been banned.
  * @param {string} [options.banReason] A string indicating which rule the banned user broke (100 characters max)
  * @param {number} [options.duration] The duration of the ban, in days. For a permanent ban, omit this parameter.
  * @param {string} [options.banNote] A note that appears on the moderation log, usually used to indicate the reason for the
  ban. This is not visible to the banned user. (300 characters max)
  * @returns {Promise} A Promise that fulfills with this Subreddit when the request is complete
  * @example r.getSubreddit('snoowrap').banUser({name: 'actually_an_aardvark', banMessage: 'You are now banned LOL'})
  */
@summary Bans the given user from this subreddit.
@param {object} options
@param {string} options.name The username of the account that should be banned
@param {string} [options.banMessage] The ban message. This will get sent to the user in a private message, alerting them
that they have been banned.
@param {string} [options.banReason] A string indicating which rule the banned user broke (100 characters max)
@param {number} [options.duration] The duration of the ban, in days. For a permanent ban, omit this parameter.
@param {string} [options.banNote] A note that appears on the moderation log, usually used to indicate the reason for the
ban. This is not visible to the banned user.
@summary Bans the given user from this subreddit . @param { object } options @param { string } options . name The username of the account that should be banned @param { string } [ options . banMessage ] The ban message . This will get sent to the user in a private message alerting them that they have been banned . @param { string } [ options . banReason ] A string indicating which rule the banned user broke ( 100 characters max ) @param { number } [ options . duration ] The duration of the ban in days . For a permanent ban omit this parameter . @param { string } [ options . banNote ] A note that appears on the moderation log usually used to indicate the reason for the ban . This is not visible to the banned user .
banUser ({
    name,
    ban_message, banMessage = ban_message,
    ban_reason, banReason = ban_reason,
    duration,
    ban_note, banNote = ban_note
  }) {
    return this._friend({
      name, ban_message: banMessage,
      ban_reason: banReason,
      duration,
      note: banNote,
      type: 'banned'
    });
  }
banUser ( { name , ban_message , banMessage = ban_message , ban_reason , banReason = ban_reason , duration , ban_note , banNote = ban_note } ) { return this . _friend ( { name , ban_message : banMessage , ban_reason : banReason , duration , note : banNote , type : 'banned' } ) ; }
@summary Bans the given user from this subreddit.
@summary Bans the given user from this subreddit .