Class InteractionCreateEvent

java.lang.Object
discord4j.core.event.domain.Event
discord4j.core.event.domain.interaction.InteractionCreateEvent
Direct Known Subclasses:
AutoCompleteInteractionEvent, DeferrableInteractionEvent

@Experimental public class InteractionCreateEvent extends Event
Dispatched when a user in a guild interacts with an application command, component, or other interaction based UI element. It is recommended you use a subclass in your event listeners to access interaction-specific methods. See a diagram below for the current event hierarchy for interactions.

You should use one of the following interaction-specific events to access interaction-specific methods:

This event is dispatched by Discord.

See Also: