Interface: CommandOptions
Properties
data
• data: ApplicationCommandData
The data sent to discord when registering the command
flags
• flags: CommandFlags
Flags to set on the command
permissions
• permissions: CommandOptionPermissions
The permissions required to invoke or execute the command
Methods
run
▸ run(interaction): any
The function to be called when this command is invoked
Parameters
| Name | Type |
|---|---|
interaction |
BaseCommandInteraction<CacheType> |
Returns
any