Skip to main content

Interface: ParseSubcommandConstructorPreConditionsCooldownParameters<PreParseReturn, Options>

The options for adding this subcommand cooldown precondition

Type parameters

Type parameterValue
PreParseReturn extends ArgsArgs
Options extends OptionsOptions

Properties

cooldownDelay

cooldownDelay: undefined | number

The cooldown delay to use.

Source

projects/plugins/packages/subcommands/src/lib/precondition-resolvers/subcommandCooldown.ts:16


cooldownFilteredUsers

cooldownFilteredUsers: undefined | string[]

The cooldown filtered users to use.

Source

projects/plugins/packages/subcommands/src/lib/precondition-resolvers/subcommandCooldown.ts:20


cooldownLimit

cooldownLimit: undefined | number

The cooldown limit to use.

Source

projects/plugins/packages/subcommands/src/lib/precondition-resolvers/subcommandCooldown.ts:14


cooldownScope

cooldownScope: undefined | BucketScope

The cooldown scope to use.

Source

projects/plugins/packages/subcommands/src/lib/precondition-resolvers/subcommandCooldown.ts:18


preconditionContainerArray

preconditionContainerArray: PreconditionContainerArray

The precondition container array to append the precondition to.

Source

projects/plugins/packages/subcommands/src/lib/precondition-resolvers/subcommandCooldown.ts:26


subcommand

subcommand: Subcommand<PreParseReturn, Options>

The command to parse cooldowns for.

Source

projects/plugins/packages/subcommands/src/lib/precondition-resolvers/subcommandCooldown.ts:12


subcommandGroupName?

optional subcommandGroupName: string

The group this precondition is for, if any.

Source

projects/plugins/packages/subcommands/src/lib/precondition-resolvers/subcommandCooldown.ts:24


subcommandMethodName

subcommandMethodName: string

The name this precondition is for.

Source

projects/plugins/packages/subcommands/src/lib/precondition-resolvers/subcommandCooldown.ts:22