Skip to main content

Interface: Entry<ArgType, CommandType>

@sapphire/plugin-subcommands.SubCommandManager.Entry

Type parameters

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

Hierarchy

  • Options<ArgType, CommandType>

    โ†ณ Entry

Properties

default

โ€ข Optional default: boolean

Defined in

projects/plugins/packages/subcommands/src/lib/SubCommandManager.ts:61


input

โ€ข input: string | (context: MessageRunContext<ArgType, CommandType>) => Awaitable<string>

Inherited from

Options.input

Defined in

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


output

โ€ข Optional output: string

Inherited from

Options.output

Defined in

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


type

โ€ข Optional type: Type

Defined in

projects/plugins/packages/subcommands/src/lib/SubCommandManager.ts:60