Skip to main content

Module: subcommands/src

Namespaces

Enumerations

Classes

Interfaces

Type Aliases

ChatInputCommandSubcommandMappingMethod

Ƭ ChatInputCommandSubcommandMappingMethod: Omit<SubcommandMappingMethod, "chatInputRun"> & Required<Pick<SubcommandMappingMethod, "chatInputRun">>

Defined in

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


MessageSubcommandMappingMethod

Ƭ MessageSubcommandMappingMethod: Omit<SubcommandMappingMethod, "messageRun"> & Required<Pick<SubcommandMappingMethod, "messageRun">>

Defined in

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


SubcommandMapping

Ƭ SubcommandMapping: SubcommandMappingMethod | SubcommandMappingGroup

Defined in

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


SubcommandMappingArray

Ƭ SubcommandMappingArray: SubcommandMapping[]

Defined in

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

Variables

SubcommandPluginEvents

Const SubcommandPluginEvents: Object

Type declaration

NameType
ChatInputSubcommandError"chatInputSubcommandError"
ChatInputSubcommandNotFound"chatInputSubcommandNotFound"
ChatInputSubcommandRun"chatInputSubcommandRun"
ChatInputSubcommandSuccess"chatInputSubcommandSuccess"
MessageSubcommandError"messageSubcommandError"
MessageSubcommandNotFound"messageSubcommandNotFound"
MessageSubcommandRun"messageSubcommandRun"
MessageSubcommandSuccess"messageSubcommandSuccess"
SubcommandMappingIsMissingChatInputCommandHandler"subcommandMappingIsMissingChatInputCommandHandler"
SubcommandMappingIsMissingMessageCommandHandler"subcommandMappingIsMissingMessageCommandHandler"

Defined in

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