RegisterMessageCommand<Defined in: packages/http-framework/src/lib/interactions/decorators/RegisterMessageCommand.ts:23 Registers a message command.Options>(data): (target,method) =>void
Type Parameters
Options
Options extends PieceOptions = PieceOptions
The options type for the command.
Parameters
data
CommandData
The command to register.
Returns
A method decorator function, does not override the method. (target, method) => void