Class Event<T extends GenericInteractionCreateEvent>

java.lang.Object
com.github.kaktushose.jda.commands.dispatching.events.Event<T>
Type Parameters:
T - the type of GenericInteractionCreateEvent this event represents
All Implemented Interfaces:
ISnowflake, Interaction
Direct Known Subclasses:
AutoCompleteEvent, ReplyableEvent

public abstract sealed class Event<T extends GenericInteractionCreateEvent> extends Object implements Interaction permits ReplyableEvent<T>, AutoCompleteEvent

Abstract base event for all interaction events, like CommandEvent.

This class also holds the GenericInteractionCreateEvent and provides some shortcut methods to directly access its content.

See Also: