Skip to main content
RegisterCommand<Options>(data): (target) => void
Defined in: packages/http-framework/src/lib/interactions/decorators/RegisterCommand.ts:26 Registers a command for the chat input.

Type Parameters

Options

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

Parameters

data

CommandData The command data.

Returns

(target) => void

Example