Package net.dv8tion.jda.api.events
Interface GenericEvent
- All Known Subinterfaces:
GenericUserPresenceEvent
,GuildVoiceUpdateEvent
,UpdateEvent<E,
T>
- All Known Implementing Classes:
ButtonInteractionEvent
,ChannelCreateEvent
,ChannelDeleteEvent
,ChannelUpdateArchivedEvent
,ChannelUpdateArchiveTimestampEvent
,ChannelUpdateAutoArchiveDurationEvent
,ChannelUpdateBitrateEvent
,ChannelUpdateInvitableEvent
,ChannelUpdateLockedEvent
,ChannelUpdateNameEvent
,ChannelUpdateNSFWEvent
,ChannelUpdateParentEvent
,ChannelUpdatePositionEvent
,ChannelUpdateRegionEvent
,ChannelUpdateSlowmodeEvent
,ChannelUpdateTopicEvent
,ChannelUpdateTypeEvent
,ChannelUpdateUserLimitEvent
,CommandAutoCompleteInteractionEvent
,DisconnectEvent
,EmoteAddedEvent
,EmoteRemovedEvent
,EmoteUpdateNameEvent
,EmoteUpdateRolesEvent
,Event
,ExceptionEvent
,GatewayPingEvent
,GenericAutoCompleteInteractionEvent
,GenericChannelEvent
,GenericChannelUpdateEvent
,GenericCommandInteractionEvent
,GenericComponentInteractionCreateEvent
,GenericContextInteractionEvent
,GenericEmoteEvent
,GenericEmoteUpdateEvent
,GenericGuildEvent
,GenericGuildInviteEvent
,GenericGuildMemberEvent
,GenericGuildMemberUpdateEvent
,GenericGuildUpdateEvent
,GenericGuildVoiceEvent
,GenericGuildVoiceUpdateEvent
,GenericInteractionCreateEvent
,GenericMessageEvent
,GenericMessageReactionEvent
,GenericPermissionOverrideEvent
,GenericRoleEvent
,GenericRoleUpdateEvent
,GenericSelfUpdateEvent
,GenericStageInstanceEvent
,GenericStageInstanceUpdateEvent
,GenericThreadEvent
,GenericThreadMemberEvent
,GenericUserEvent
,GenericUserUpdateEvent
,GuildAvailableEvent
,GuildBanEvent
,GuildInviteCreateEvent
,GuildInviteDeleteEvent
,GuildJoinEvent
,GuildLeaveEvent
,GuildMemberJoinEvent
,GuildMemberRemoveEvent
,GuildMemberRoleAddEvent
,GuildMemberRoleRemoveEvent
,GuildMemberUpdateAvatarEvent
,GuildMemberUpdateBoostTimeEvent
,GuildMemberUpdateEvent
,GuildMemberUpdateNicknameEvent
,GuildMemberUpdatePendingEvent
,GuildMemberUpdateTimeOutEvent
,GuildReadyEvent
,GuildTimeoutEvent
,GuildUnavailableEvent
,GuildUnbanEvent
,GuildUpdateAfkChannelEvent
,GuildUpdateAfkTimeoutEvent
,GuildUpdateBannerEvent
,GuildUpdateBoostCountEvent
,GuildUpdateBoostTierEvent
,GuildUpdateCommunityUpdatesChannelEvent
,GuildUpdateDescriptionEvent
,GuildUpdateExplicitContentLevelEvent
,GuildUpdateFeaturesEvent
,GuildUpdateIconEvent
,GuildUpdateLocaleEvent
,GuildUpdateMaxMembersEvent
,GuildUpdateMaxPresencesEvent
,GuildUpdateMFALevelEvent
,GuildUpdateNameEvent
,GuildUpdateNotificationLevelEvent
,GuildUpdateNSFWLevelEvent
,GuildUpdateOwnerEvent
,GuildUpdateRulesChannelEvent
,GuildUpdateSplashEvent
,GuildUpdateSystemChannelEvent
,GuildUpdateVanityCodeEvent
,GuildUpdateVerificationLevelEvent
,GuildVoiceDeafenEvent
,GuildVoiceGuildDeafenEvent
,GuildVoiceGuildMuteEvent
,GuildVoiceJoinEvent
,GuildVoiceLeaveEvent
,GuildVoiceMoveEvent
,GuildVoiceMuteEvent
,GuildVoiceRequestToSpeakEvent
,GuildVoiceSelfDeafenEvent
,GuildVoiceSelfMuteEvent
,GuildVoiceStreamEvent
,GuildVoiceSuppressEvent
,GuildVoiceVideoEvent
,HttpRequestEvent
,MessageBulkDeleteEvent
,MessageContextInteractionEvent
,MessageDeleteEvent
,MessageEmbedEvent
,MessageReactionAddEvent
,MessageReactionRemoveAllEvent
,MessageReactionRemoveEmoteEvent
,MessageReactionRemoveEvent
,MessageReceivedEvent
,MessageUpdateEvent
,PermissionOverrideCreateEvent
,PermissionOverrideDeleteEvent
,PermissionOverrideUpdateEvent
,RawGatewayEvent
,ReadyEvent
,ReconnectedEvent
,ResumedEvent
,RoleCreateEvent
,RoleDeleteEvent
,RoleUpdateColorEvent
,RoleUpdateHoistedEvent
,RoleUpdateIconEvent
,RoleUpdateMentionableEvent
,RoleUpdateNameEvent
,RoleUpdatePermissionsEvent
,RoleUpdatePositionEvent
,SelectMenuInteractionEvent
,SelfUpdateAvatarEvent
,SelfUpdateDiscriminatorEvent
,SelfUpdateMFAEvent
,SelfUpdateNameEvent
,SelfUpdateVerifiedEvent
,ShutdownEvent
,SlashCommandInteractionEvent
,StageInstanceCreateEvent
,StageInstanceDeleteEvent
,StageInstanceUpdatePrivacyLevelEvent
,StageInstanceUpdateTopicEvent
,StatusChangeEvent
,ThreadHiddenEvent
,ThreadMemberJoinEvent
,ThreadMemberLeaveEvent
,ThreadRevealedEvent
,UnavailableGuildJoinedEvent
,UnavailableGuildLeaveEvent
,UserActivityEndEvent
,UserActivityStartEvent
,UserContextInteractionEvent
,UserTypingEvent
,UserUpdateActivitiesEvent
,UserUpdateActivityOrderEvent
,UserUpdateAvatarEvent
,UserUpdateDiscriminatorEvent
,UserUpdateFlagsEvent
,UserUpdateNameEvent
,UserUpdateOnlineStatusEvent
public interface GenericEvent
-
Method Summary
Modifier and TypeMethodDescriptiongetJDA()
The current JDA instance corresponding to this Eventlong
The current sequence for this event.
-
Method Details
-
getJDA
The current JDA instance corresponding to this Event- Returns:
- The corresponding JDA instance
-
getResponseNumber
long getResponseNumber()The current sequence for this event.
This can be used to keep events in order when making sequencing system.- Returns:
- The current sequence number for this event
-