Skip to main content

Interface: MessageSubcommandNoMatchContext

Extends​

  • RunContext

Properties​

command​

command: Subcommand<Args, SubcommandOptions>

Defined in​

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


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


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


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

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