Readonly
authorWhether this component can only be used by the author of the interaction.
Readonly
clientThe client that instantiated this component.
Readonly
cooldownThe cooldown of this component. This is in milliseconds.
Readonly
descriptionThe description of the command
Optional
Readonly
dmWhether this component can be used in DMs.
Readonly
keyThe key of this component. This is used to identify the component, and is usually used as the custom ID or the command name.
Readonly
optionsThe options of the command
[]
Optional
Readonly
permissionsThe permissions required from the user to run this component.
Readonly
typeThe type of the command
ApplicationCommandType.ChatInput
The base component class that other components extend from.