Skip to main content

Interface: MessageSubcommandNoMatchContext

Extends

  • RunContext

Properties

commandName

commandName: string

The alias used to run this command.

Inherited from

MessageCommand.RunContext.commandName

Defined in

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


commandPrefix

commandPrefix: string

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

Defined in

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


possibleSubcommandGroupOrName

possibleSubcommandGroupOrName: null | string

Defined in

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


possibleSubcommandName

possibleSubcommandName: null | string

Defined in

projects/plugins/packages/subcommands/src/lib/types/Events.ts:28


prefix

prefix: string | RegExp

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

Defined in

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