Class MemberLeaveEvent
java.lang.Object
discord4j.core.event.domain.Event
discord4j.core.event.domain.guild.GuildEvent
discord4j.core.event.domain.guild.MemberLeaveEvent
Dispatched when a user leaves a guild OR is kicked from it.
Discord does not differentiate between a user leaving on their own and being kicked. Except through audit logs, it is not possible to tell the difference between these.
This event is dispatched by Discord.
- See Also:
-
Constructor Summary
ConstructorDescriptionMemberLeaveEvent
(GatewayDiscordClient gateway, ShardInfo shardInfo, User user, long guildId, Member member) -
Method Summary
Methods inherited from class discord4j.core.event.domain.Event
getClient, getShardInfo