public class GuildVoiceMoveEvent extends GuildVoiceUpdateEvent
Member moves between VoiceChannels.
When the Member is leaving a GuildVoiceLeaveEvent is fired instead
Can be used to detect when a member moves from one voice channel to another in the same guild.
GuildVoiceUpdateEvent| Constructor | Description |
|---|---|
GuildVoiceMoveEvent(JDA api,
long responseNumber,
Member member,
VoiceChannel channelLeft) |
| Modifier and Type | Method | Description |
|---|---|---|
VoiceChannel |
getChannelJoined() |
The
VoiceChannel that the Member is moved to |
getJDA, getResponseNumbergetGuildgetMember, getVoiceStategetChannelLeftpublic GuildVoiceMoveEvent(JDA api, long responseNumber, Member member, VoiceChannel channelLeft)
public VoiceChannel getChannelJoined()
VoiceChannel that the Member is moved toVoiceChannel