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

Source

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


external?

optional external: boolean

Inherited from

CorePreconditions.CooldownContext.external

Source

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


filteredUsers?

optional filteredUsers: string[]

Inherited from

CorePreconditions.CooldownContext.filteredUsers

Source

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


limit?

optional limit: number

Inherited from

CorePreconditions.CooldownContext.limit

Source

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


scope?

optional scope: BucketScope

Inherited from

CorePreconditions.CooldownContext.scope

Source

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


subcommandGroupName?

optional subcommandGroupName: string

The name of the subcommand group, if any

Source

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


subcommandMethodName

subcommandMethodName: string

The name of the subcommand

Source

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