Package net.dv8tion.jda.api.events
Interface GenericEvent
-
- All Known Subinterfaces:
GenericUserPresenceEvent
,GuildVoiceUpdateEvent
,UpdateEvent<E,T>
- All Known Implementing Classes:
ApplicationCommandCreateEvent
,ApplicationCommandDeleteEvent
,ApplicationCommandUpdateEvent
,ButtonClickEvent
,CategoryCreateEvent
,CategoryDeleteEvent
,CategoryUpdateNameEvent
,CategoryUpdatePermissionsEvent
,CategoryUpdatePositionEvent
,DisconnectEvent
,EmoteAddedEvent
,EmoteRemovedEvent
,EmoteUpdateNameEvent
,EmoteUpdateRolesEvent
,Event
,ExceptionEvent
,GatewayPingEvent
,GenericApplicationCommandEvent
,GenericCategoryEvent
,GenericCategoryUpdateEvent
,GenericComponentInteractionCreateEvent
,GenericEmoteEvent
,GenericEmoteUpdateEvent
,GenericGuildEvent
,GenericGuildInviteEvent
,GenericGuildMemberEvent
,GenericGuildMemberUpdateEvent
,GenericGuildMessageEvent
,GenericGuildMessageReactionEvent
,GenericGuildUpdateEvent
,GenericGuildVoiceEvent
,GenericGuildVoiceUpdateEvent
,GenericInteractionCreateEvent
,GenericMessageEvent
,GenericMessageReactionEvent
,GenericPermissionOverrideEvent
,GenericPrivateMessageEvent
,GenericPrivateMessageReactionEvent
,GenericRoleEvent
,GenericRoleUpdateEvent
,GenericSelfUpdateEvent
,GenericStageInstanceEvent
,GenericStageInstanceUpdateEvent
,GenericStoreChannelEvent
,GenericStoreChannelUpdateEvent
,GenericTextChannelEvent
,GenericTextChannelUpdateEvent
,GenericUserEvent
,GenericUserUpdateEvent
,GenericVoiceChannelEvent
,GenericVoiceChannelUpdateEvent
,GuildAvailableEvent
,GuildBanEvent
,GuildInviteCreateEvent
,GuildInviteDeleteEvent
,GuildJoinEvent
,GuildLeaveEvent
,GuildMemberJoinEvent
,GuildMemberLeaveEvent
,GuildMemberRemoveEvent
,GuildMemberRoleAddEvent
,GuildMemberRoleRemoveEvent
,GuildMemberUpdateAvatarEvent
,GuildMemberUpdateBoostTimeEvent
,GuildMemberUpdateEvent
,GuildMemberUpdateNicknameEvent
,GuildMemberUpdatePendingEvent
,GuildMessageDeleteEvent
,GuildMessageEmbedEvent
,GuildMessageReactionAddEvent
,GuildMessageReactionRemoveAllEvent
,GuildMessageReactionRemoveEmoteEvent
,GuildMessageReactionRemoveEvent
,GuildMessageReceivedEvent
,GuildMessageUpdateEvent
,GuildReadyEvent
,GuildTimeoutEvent
,GuildUnavailableEvent
,GuildUnbanEvent
,GuildUpdateAfkChannelEvent
,GuildUpdateAfkTimeoutEvent
,GuildUpdateBannerEvent
,GuildUpdateBoostCountEvent
,GuildUpdateBoostTierEvent
,GuildUpdateCommunityUpdatesChannelEvent
,GuildUpdateDescriptionEvent
,GuildUpdateExplicitContentLevelEvent
,GuildUpdateFeaturesEvent
,GuildUpdateIconEvent
,GuildUpdateLocaleEvent
,GuildUpdateMaxMembersEvent
,GuildUpdateMaxPresencesEvent
,GuildUpdateMFALevelEvent
,GuildUpdateNameEvent
,GuildUpdateNotificationLevelEvent
,GuildUpdateNSFWLevelEvent
,GuildUpdateOwnerEvent
,GuildUpdateRegionEvent
,GuildUpdateRulesChannelEvent
,GuildUpdateSplashEvent
,GuildUpdateSystemChannelEvent
,GuildUpdateVanityCodeEvent
,GuildUpdateVerificationLevelEvent
,GuildVoiceDeafenEvent
,GuildVoiceGuildDeafenEvent
,GuildVoiceGuildMuteEvent
,GuildVoiceJoinEvent
,GuildVoiceLeaveEvent
,GuildVoiceMoveEvent
,GuildVoiceMuteEvent
,GuildVoiceRequestToSpeakEvent
,GuildVoiceSelfDeafenEvent
,GuildVoiceSelfMuteEvent
,GuildVoiceStreamEvent
,GuildVoiceSuppressEvent
,GuildVoiceVideoEvent
,HttpRequestEvent
,MessageBulkDeleteEvent
,MessageDeleteEvent
,MessageEmbedEvent
,MessageReactionAddEvent
,MessageReactionRemoveAllEvent
,MessageReactionRemoveEmoteEvent
,MessageReactionRemoveEvent
,MessageReceivedEvent
,MessageUpdateEvent
,PermissionOverrideCreateEvent
,PermissionOverrideDeleteEvent
,PermissionOverrideUpdateEvent
,PrivateChannelCreateEvent
,PrivateChannelDeleteEvent
,PrivateMessageDeleteEvent
,PrivateMessageEmbedEvent
,PrivateMessageReactionAddEvent
,PrivateMessageReactionRemoveEvent
,PrivateMessageReceivedEvent
,PrivateMessageUpdateEvent
,RawGatewayEvent
,ReadyEvent
,ReconnectedEvent
,ResumedEvent
,RoleCreateEvent
,RoleDeleteEvent
,RoleUpdateColorEvent
,RoleUpdateHoistedEvent
,RoleUpdateIconEvent
,RoleUpdateMentionableEvent
,RoleUpdateNameEvent
,RoleUpdatePermissionsEvent
,RoleUpdatePositionEvent
,SelectionMenuEvent
,SelfUpdateAvatarEvent
,SelfUpdateDiscriminatorEvent
,SelfUpdateMFAEvent
,SelfUpdateNameEvent
,SelfUpdateVerifiedEvent
,ShutdownEvent
,SlashCommandEvent
,StageInstanceCreateEvent
,StageInstanceDeleteEvent
,StageInstanceUpdatePrivacyLevelEvent
,StageInstanceUpdateTopicEvent
,StatusChangeEvent
,StoreChannelCreateEvent
,StoreChannelDeleteEvent
,StoreChannelUpdateNameEvent
,StoreChannelUpdatePermissionsEvent
,StoreChannelUpdatePositionEvent
,TextChannelCreateEvent
,TextChannelDeleteEvent
,TextChannelUpdateNameEvent
,TextChannelUpdateNewsEvent
,TextChannelUpdateNSFWEvent
,TextChannelUpdateParentEvent
,TextChannelUpdatePermissionsEvent
,TextChannelUpdatePositionEvent
,TextChannelUpdateSlowmodeEvent
,TextChannelUpdateTopicEvent
,UnavailableGuildJoinedEvent
,UnavailableGuildLeaveEvent
,UserActivityEndEvent
,UserActivityStartEvent
,UserTypingEvent
,UserUpdateActivitiesEvent
,UserUpdateActivityOrderEvent
,UserUpdateAvatarEvent
,UserUpdateDiscriminatorEvent
,UserUpdateFlagsEvent
,UserUpdateNameEvent
,UserUpdateOnlineStatusEvent
,VoiceChannelCreateEvent
,VoiceChannelDeleteEvent
,VoiceChannelUpdateBitrateEvent
,VoiceChannelUpdateNameEvent
,VoiceChannelUpdateParentEvent
,VoiceChannelUpdatePermissionsEvent
,VoiceChannelUpdatePositionEvent
,VoiceChannelUpdateRegionEvent
,VoiceChannelUpdateUserLimitEvent
public interface GenericEvent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JDA
getJDA()
The current JDA instance corresponding to this Eventlong
getResponseNumber()
The current sequence for this event.
-
-
-
Method Detail
-
getJDA
@Nonnull JDA 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
-
-