Class GuildVoiceMoveEvent
- 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.GuildVoiceMoveEvent
-
public class GuildVoiceMoveEvent extends GuildVoiceUpdateEvent
Indicates that aMember
moves betweenVoiceChannels
.When the
Member
is leaving aGuildVoiceLeaveEvent
is fired insteadCan be used to detect when a member moves from one voice channel to another in the same guild.
- See Also:
GuildVoiceUpdateEvent
-
-
Constructor Summary
Constructors Constructor Description GuildVoiceMoveEvent(JDA api, long responseNumber, Member member, VoiceChannel channelLeft)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VoiceChannel
getChannelJoined()
TheVoiceChannel
that theMember
is moved to-
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
-
GuildVoiceMoveEvent
public GuildVoiceMoveEvent(JDA api, long responseNumber, Member member, VoiceChannel channelLeft)
-
-
Method Detail
-
getChannelJoined
public VoiceChannel getChannelJoined()
TheVoiceChannel
that theMember
is moved to- Returns:
- the
VoiceChannel
-
-