Skip to main content

Interface: MessageRunContext<ArgType, CommandType>

@sapphire/plugin-subcommands.SubCommandEntry.MessageRunContext

MessageRunContext is passed to SubCommandManager.messageRun() and to input (if it is a function)

see SubCommandEntry.Options

Type parameters

NameType
ArgTypeextends Args = Args
CommandTypeextends Command<ArgType> = Command<ArgType>

Properties

args

โ€ข args: ArgType

Defined in

projects/plugins/packages/subcommands/src/lib/SubCommandEntry.ts:55


command

โ€ข command: CommandType

Defined in

projects/plugins/packages/subcommands/src/lib/SubCommandEntry.ts:53


context

โ€ข context: CommandContext

Defined in

projects/plugins/packages/subcommands/src/lib/SubCommandEntry.ts:56


message

โ€ข message: Message<boolean>

Defined in

projects/plugins/packages/subcommands/src/lib/SubCommandEntry.ts:54