Interface: MessageSubcommandNoMatchContext
@sapphire/plugin-subcommands.MessageSubcommandNoMatchContext
Hierarchy
RunContext
↳
MessageSubcommandNoMatchContext
Properties
commandName
• commandName: string
The alias used to run this command.
Inherited from
MessageCommand.RunContext.commandName
Defined in
node_modules/@sapphire/framework/dist/index.d.ts:2060
commandPrefix
• commandPrefix: string
The matched prefix, this will always be the same as 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/index.d.ts:2065
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/index.d.ts:2056