Package net.dv8tion.jda.api.events.guild
Class GenericGuildEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.guild.GenericGuildEvent
-
- All Implemented Interfaces:
GenericEvent
- Direct Known Subclasses:
GenericGuildInviteEvent
,GenericGuildMemberEvent
,GenericGuildMessageEvent
,GenericGuildUpdateEvent
,GenericGuildVoiceEvent
,GenericPermissionOverrideEvent
,GenericStageInstanceEvent
,GuildAvailableEvent
,GuildBanEvent
,GuildJoinEvent
,GuildLeaveEvent
,GuildMemberRemoveEvent
,GuildReadyEvent
,GuildUnavailableEvent
,GuildUnbanEvent
public abstract class GenericGuildEvent extends Event
Indicates that aGuild
event is fired.
Every GuildEvent is an instance of this event and can be casted.Can be used to detect any GuildEvent.
-
-
Constructor Summary
Constructors Constructor Description GenericGuildEvent(JDA api, long responseNumber, Guild guild)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Guild
getGuild()
TheGuild
-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-