Readonly authorWhether this component can only be used by the author of the interaction.
Readonly clientThe client that instantiated this component.
Private Optional Readonly clientThe permissions required from the application to run this component.
Readonly cooldownThe cooldown of this component. This is in milliseconds.
Optional Readonly dmWhether this component can be used in DMs.
Private Readonly guildWhether this component can only be used in guilds.
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.
Private Readonly ownerWhether this component can only be used by the owner of the guild.
Optional Readonly permissionsThe permissions required from the user to run this component.
Private Optional Readonly restrictionThe access role required to run this component.
The base component class that other components extend from.