Class GuildVoiceLeaveEvent
- java.lang.Object
-
- net.dv8tion.jda.core.events.Event
-
- net.dv8tion.jda.core.events.guild.GenericGuildEvent
-
- net.dv8tion.jda.core.events.guild.voice.GenericGuildVoiceEvent
-
- net.dv8tion.jda.core.events.guild.voice.GuildVoiceUpdateEvent
-
- net.dv8tion.jda.core.events.guild.voice.GuildVoiceLeaveEvent
-
public class GuildVoiceLeaveEvent extends GuildVoiceUpdateEvent
Indicates that aMember
disconnected from aVoiceChannel
.When the
Member
is moved aGuildVoiceMoveEvent
is fired insteadCan be used to detect when a member leaves a voice channel completely.
- See Also:
GuildVoiceUpdateEvent
-
-
Constructor Summary
Constructors Constructor Description GuildVoiceLeaveEvent(JDA api, long responseNumber, Member member, VoiceChannel channelLeft)
-
Method Summary
-
Methods inherited from class net.dv8tion.jda.core.events.guild.voice.GuildVoiceUpdateEvent
getChannelLeft
-
Methods inherited from class net.dv8tion.jda.core.events.guild.voice.GenericGuildVoiceEvent
getMember, getVoiceState
-
Methods inherited from class net.dv8tion.jda.core.events.guild.GenericGuildEvent
getGuild
-
Methods inherited from class net.dv8tion.jda.core.events.Event
getJDA, getResponseNumber
-
-
-
-
Constructor Detail
-
GuildVoiceLeaveEvent
public GuildVoiceLeaveEvent(JDA api, long responseNumber, Member member, VoiceChannel channelLeft)
-
-