Interface: ParseSubcommandConstructorPreConditionsCooldownParameters<PreParseReturn, Options>
The options for adding this subcommand cooldown precondition
Type Parameters
Type Parameter | Default type |
---|---|
PreParseReturn extends Args | Args |
Options extends Options | Options |
Properties
cooldownDelay
cooldownDelay:
undefined
|number
The cooldown delay to use.
Defined in
projects/plugins/packages/subcommands/src/lib/precondition-resolvers/subcommandCooldown.ts:16
cooldownFilteredUsers
cooldownFilteredUsers:
undefined
|string
[]
The cooldown filtered users to use.
Defined in
projects/plugins/packages/subcommands/src/lib/precondition-resolvers/subcommandCooldown.ts:20
cooldownLimit
cooldownLimit:
undefined
|number
The cooldown limit to use.
Defined in
projects/plugins/packages/subcommands/src/lib/precondition-resolvers/subcommandCooldown.ts:14
cooldownScope
cooldownScope:
undefined
|BucketScope
The cooldown scope to use.
Defined in
projects/plugins/packages/subcommands/src/lib/precondition-resolvers/subcommandCooldown.ts:18
preconditionContainerArray
preconditionContainerArray:
PreconditionContainerArray
The precondition container array to append the precondition to.
Defined in
projects/plugins/packages/subcommands/src/lib/precondition-resolvers/subcommandCooldown.ts:26
subcommand
subcommand:
Subcommand
<PreParseReturn
,Options
>
The command to parse cooldowns for.
Defined in
projects/plugins/packages/subcommands/src/lib/precondition-resolvers/subcommandCooldown.ts:12
subcommandGroupName?
optional
subcommandGroupName:string
The group this precondition is for, if any.
Defined in
projects/plugins/packages/subcommands/src/lib/precondition-resolvers/subcommandCooldown.ts:24
subcommandMethodName
subcommandMethodName:
string
The name this precondition is for.
Defined in
projects/plugins/packages/subcommands/src/lib/precondition-resolvers/subcommandCooldown.ts:22