Skip to main content

Interface: PluginSubcommandCooldownPreconditionContext

The context for the subcommand cooldown precondition

Since

5.1.0

Extends

  • CooldownContext

Properties

delay

delay: number

Inherited from

CorePreconditions.CooldownContext.delay

Defined in

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


external?

optional external: boolean

Inherited from

CorePreconditions.CooldownContext.external

Defined in

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


filteredUsers?

optional filteredUsers: string[]

Inherited from

CorePreconditions.CooldownContext.filteredUsers

Defined in

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


limit?

optional limit: number

Inherited from

CorePreconditions.CooldownContext.limit

Defined in

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


scope?

optional scope: BucketScope

Inherited from

CorePreconditions.CooldownContext.scope

Defined in

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


subcommandGroupName?

optional subcommandGroupName: string

The name of the subcommand group, if any

Defined in

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


subcommandMethodName

subcommandMethodName: string

The name of the subcommand

Defined in

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