Skip to main content
RegisterSubcommandGroup<Options>(data): (target, method) => void
Defined in: packages/http-framework/src/lib/interactions/decorators/RegisterSubcommandGroup.ts:35 Registers a subcommand group for a chat input command.

Type Parameters

Options

Options extends PieceOptions = PieceOptions The options type for the command.

Parameters

data

SubcommandGroupData The subcommand group data.

Returns

(target, method) => void

Remarks

This decorator must be used in conjunction with RegisterSubcommand.

Example