Class GenericGuildMemberEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.guild.GenericGuildEvent
-
- net.dv8tion.jda.api.events.guild.member.GenericGuildMemberEvent
-
- All Implemented Interfaces:
GenericEvent
- Direct Known Subclasses:
GenericGuildMemberUpdateEvent
,GuildMemberJoinEvent
,GuildMemberLeaveEvent
,GuildMemberRoleAddEvent
,GuildMemberRoleRemoveEvent
,GuildMemberUpdateEvent
public abstract class GenericGuildMemberEvent extends GenericGuildEvent
Indicates that aGuild
member event is fired.
Every GuildMemberEvent is an instance of this event and can be casted.Most of these events require the
GUILD_MEMBERS
intent to be enabled.createDefault(String)
andcreateLight(String)
disable this by default!Can be used to detect any GuildMemberEvent.
-
-
Constructor Summary
Constructors Constructor Description GenericGuildMemberEvent(JDA api, long responseNumber, Member member)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Member
getMember()
TheMember
instanceUser
getUser()
-
Methods inherited from class net.dv8tion.jda.api.events.guild.GenericGuildEvent
getGuild
-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-