AbstractBuilds this command's custom id, optionally with extra data.
Optionalextra: stringAbstractexecuteExecutes this command from an interaction.
Returns the data for this command.
Returns this object's filter.
Returns a readonly metadata collection of this object, if any.
ProtectedhandleHandles a button interaction whose customId matches this command.
Handle a ComponentCommandInteraction whose customId refers to this command.
ProtectedhandleHandles a modal submit interaction whose customId matches this command.
ProtectedhandleHandles a select menu interaction whose customId matches this command.
Returns whether this is an ContextMenuCommand.
Returns whether this is a ParentCommand.
Returns whether this is a StandaloneCommand.
Returns whether this is a SubCommand.
Returns whether this is a SubCommandGroup.
A command that can be executed by an interaction.