static async areValidTextChannels(argDef, argValue, command) {
    if (!(argDef.validationOptions.anyValueAllowed === true && argValue.channels[0] === OhUtils.ANY_VALUE)) {
      if (await argValue.validateDiscordTextChannelsArg(command.context, command.orgId)) {
        ArgValidationTree.generateValidationError(
          argDef,
          command,
          'wrong text channels provided:',
          'arg_validation_wrong_text_channels'
        );
      }
    }
  }
/**
   * Validates a command's argument value against the validTextChannels condition.
   * @throws BotPublicError
   * @param  {CommandArgDef} argDef      the argument definition
   * @param  {Object}        argValue    the argument value
   * @param  {string}        commandName the command name
   */
Validates a command's argument value against the validTextChannels condition.
@throws BotPublicError
@param  {CommandArgDef} argDef      the argument definition
@param  {Object}        argValue    the argument value
@param  {string}        commandName the command name
Validates a command ' s argument value against the validTextChannels condition . @throws BotPublicError @param { CommandArgDef } argDef the argument definition @param { Object } argValue the argument value @param { string } commandName the command name
static async areValidTextChannels(argDef, argValue, command) {
    if (!(argDef.validationOptions.anyValueAllowed === true && argValue.channels[0] === OhUtils.ANY_VALUE)) {
      if (await argValue.validateDiscordTextChannelsArg(command.context, command.orgId)) {
        ArgValidationTree.generateValidationError(
          argDef,
          command,
          'wrong text channels provided:',
          'arg_validation_wrong_text_channels'
        );
      }
    }
  }
static async areValidTextChannels ( argDef , argValue , command ) { if ( ! ( argDef . validationOptions . anyValueAllowed === true && argValue . channels [ 0 ] === OhUtils . ANY_VALUE ) ) { if ( await argValue . validateDiscordTextChannelsArg ( command . context , command . orgId ) ) { ArgValidationTree . generateValidationError ( argDef , command , 'wrong text channels provided:' , 'arg_validation_wrong_text_channels' ) ; } } }
Validates a command's argument value against the validTextChannels condition.
Validates a command ' s argument value against the validTextChannels condition .