<commit_before>const Command = require('../Command')

module.exports =
class NotVerifiedRoleCommand extends Command {
  constructor (client) {
    super(client, {
      name: 'notverifiedrole',
      aliases: ['roververifiedremovedrole', 'verifiedremovedrole', 'rovernotverifiedrole'],
      description: '`<Discord Role>` Set the role that members will lose when verified successfully. Default none',

      args: [
        {
          key: 'role',
          label: 'role',
          prompt: 'What role should non-verified users get?',
          type: 'role',
          default: false
        }
      ]
    })
  }

  async fn (msg, args) {
    let role = args.role
    if (role) {
      if (this.server.isRoleInUse(role.id)) {
        msg.reply('That role is already in use. (verified role, not verified role, or from a group binding). Run `!bindings` to see all role bindings.')
      } else {
        this.server.setSetting('verifiedRemovedRole', role.id)
        msg.reply(`Set non-verified role to ${role.name}`)
      }
    } else {
      this.server.setSetting('verifiedRemovedRole', null)<commit_msg>Add UnverifiedRole alias<commit_after>const Command = require('../Command')

module.exports =
class NotVerifiedRoleCommand extends Command {
  constructor (client) {
    super(client, {
      name: 'notverifiedrole',
      aliases: ['roververifiedremovedrole', 'verifiedremovedrole', 'rovernotverifiedrole', 'unverifiedrole'],
      description: '`<Discord Role>` Set the role that members will lose when verified successfully. Default none',

      args: [
        {
          key: 'role',
          label: 'role',
          prompt: 'What role should non-verified users get?',
          type: 'role',
          default: false
        }
      ]
    })
  }

  async fn (msg, args) {
    let role = args.role
    if (role) {
      if (this.server.isRoleInUse(role.id)) {
        msg.reply('That role is already in use. (verified role, not verified role, or from a group binding). Run `!bindings` to see all role bindings.')
      } else {
        this.server.setSetting('verifiedRemovedRole', role.id)
        msg.reply(`Set non-verified role to ${role.name}`)
      }
    } else {
      this.server.setSetting('verifiedRemovedRole', null)
{'fraction_non_alphanumeric': 0.12071269487750556, 'fraction_numerical': 0.0, 'mean_word_length': 2.634304207119741, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3738886', 'n_tokens_mistral': 664, 'n_tokens_neox': 658, 'n_words': 188}