AbstractProtected Abstract ReadonlydataProtected ReadonlyfilterProtected ReadonlymetaBuilds this command's custom id, optionally with extra data.
Optionalextra: stringProtectedexecuteProtectedexecuteReturns the data for this command.
Returns this object's filter.
Gets the guilds this command can be executed in. null for global commands.
Returns the identifier of this object.
Returns a readonly metadata collection of this object, if any.
ProtectedhandleHandle a ComponentCommandInteraction whose customId refers to this command.
ProtectedhandleProtectedhandleReturns 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 a context menu.