Skip to main content

Interface: PluginSubcommandCooldownPreconditionContext

Defined in: projects/plugins/packages/subcommands/src/preconditions/PluginSubcommandCooldown.ts:18

The context for the subcommand cooldown precondition

Since​

5.1.0

Extends​

  • CooldownContext

Indexable​

[key: string]: unknown

[key: number]: unknown

[key: symbol]: unknown

Properties​

delay​

delay: number

Defined in: node_modules/@sapphire/framework/dist/esm/index.d.mts:383

Inherited from​

CorePreconditions.CooldownContext.delay


external?​

optional external: boolean

Defined in: node_modules/@sapphire/framework/dist/esm/index.d.mts:521

Inherited from​

CorePreconditions.CooldownContext.external


filteredUsers?​

optional filteredUsers: string[]

Defined in: node_modules/@sapphire/framework/dist/esm/index.d.mts:385

Inherited from​

CorePreconditions.CooldownContext.filteredUsers


limit?​

optional limit: number

Defined in: node_modules/@sapphire/framework/dist/esm/index.d.mts:384

Inherited from​

CorePreconditions.CooldownContext.limit


scope?​

optional scope: BucketScope

Defined in: node_modules/@sapphire/framework/dist/esm/index.d.mts:382

Inherited from​

CorePreconditions.CooldownContext.scope


subcommandGroupName?​

optional subcommandGroupName: string

Defined in: projects/plugins/packages/subcommands/src/preconditions/PluginSubcommandCooldown.ts:22

The name of the subcommand group, if any


subcommandMethodName​

subcommandMethodName: string

Defined in: projects/plugins/packages/subcommands/src/preconditions/PluginSubcommandCooldown.ts:20

The name of the subcommand