Class GenericCommandInteractionEvent

java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.interaction.GenericInteractionCreateEvent
net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent
All Implemented Interfaces:
ISnowflake, GenericEvent, IDeferrableCallback, IReplyCallback, CommandInteraction, CommandInteractionPayload, Interaction
Direct Known Subclasses:
GenericContextInteractionEvent, SlashCommandInteractionEvent

public class GenericCommandInteractionEvent extends GenericInteractionCreateEvent implements CommandInteraction
Indicates that a CommandInteraction was used.

Requirements

To receive these events, you must unset the Interactions Endpoint URL in your application dashboard. You can simply remove the URL for this endpoint in your settings at the Discord Developers Portal.