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
,GuildMemberRoleAddEvent
,GuildMemberRoleRemoveEvent
,GuildMemberUpdateEvent
Indicates that a
Every GuildMemberEvent is an instance of this event and can be casted.
Guild
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)
and
createLight(String)
disable this by default!
Can be used to detect any GuildMemberEvent.
-
Constructor Summary
-
Method Summary
Methods inherited from class net.dv8tion.jda.api.events.guild.GenericGuildEvent
getGuild
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toString
-
Constructor Details
-
GenericGuildMemberEvent
-
-
Method Details
-
getUser
- Returns:
- The User instance
-
getMember
TheMember
instance- Returns:
- The Member instance
-