Skip to main content

Interface: SubcommandMappingMethod

subcommands/src.SubcommandMappingMethod

Hierarchy

  • SubcommandMappingBase

    SubcommandMappingMethod

Properties

chatInputRun

Optional chatInputRun: string | (interaction: CommandInteraction<CacheType>, context: ChatInputCommandContext) => unknown

Defined in

projects/plugins/packages/subcommands/src/lib/SubcommandMappings.ts:79


default

Optional default: boolean

Defined in

projects/plugins/packages/subcommands/src/lib/SubcommandMappings.ts:37


messageRun

Optional messageRun: string | (message: Message<boolean>, args: Args, context: MessageCommandContext) => unknown

Defined in

projects/plugins/packages/subcommands/src/lib/SubcommandMappings.ts:58


name

name: string

Inherited from

SubcommandMappingBase.name

Defined in

projects/plugins/packages/subcommands/src/lib/SubcommandMappings.ts:14


type

Optional type: "method"

Overrides

SubcommandMappingBase.type

Defined in

projects/plugins/packages/subcommands/src/lib/SubcommandMappings.ts:29