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:382


external?

optional external: boolean

Inherited from

CorePreconditions.CooldownContext.external

Defined in

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


filteredUsers?

optional filteredUsers: string[]

Inherited from

CorePreconditions.CooldownContext.filteredUsers

Defined in

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


limit?

optional limit: number

Inherited from

CorePreconditions.CooldownContext.limit

Defined in

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


scope?

optional scope: BucketScope

Inherited from

CorePreconditions.CooldownContext.scope

Defined in

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


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