Skip to main content

Interface: MessageSubcommandNoMatchContext

Defined in: projects/plugins/packages/subcommands/src/lib/types/Events.ts:29

Extends

  • RunContext

Indexable

[key: string]: unknown

[key: number]: unknown

[key: symbol]: unknown

Properties

command

command: Subcommand

Defined in: projects/plugins/packages/subcommands/src/lib/types/Events.ts:30


commandName

commandName: string

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

The alias used to run this command.

Inherited from

MessageCommand.RunContext.commandName


commandPrefix

commandPrefix: string

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

The matched prefix, this will always be the same as MessageCommand.RunContext.prefix if it was a string, otherwise it is the result of doing prefix.exec(content)[0].

Inherited from

MessageCommand.RunContext.commandPrefix


identifier

identifier: MessageSubcommandNoMatch

Defined in: projects/plugins/packages/subcommands/src/lib/types/Events.ts:31


message

message: string

Defined in: projects/plugins/packages/subcommands/src/lib/types/Events.ts:32


possibleSubcommandGroupOrName

possibleSubcommandGroupOrName: null | string

Defined in: projects/plugins/packages/subcommands/src/lib/types/Events.ts:34


possibleSubcommandName

possibleSubcommandName: null | string

Defined in: projects/plugins/packages/subcommands/src/lib/types/Events.ts:33


prefix

prefix: string | RegExp

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

The prefix used to run this command.

This is a string for the mention and default prefix, and a RegExp for the regexPrefix.

Inherited from

MessageCommand.RunContext.prefix