RegisterCommand<Defined in: packages/http-framework/src/lib/interactions/decorators/RegisterCommand.ts:26 Registers a command for the chat input.Options>(data): (target) =>void
Type Parameters
Options
Options extends PieceOptions = PieceOptions
The options type for the command.
Parameters
data
CommandData
The command data.
Returns
(target) => void