public class GuildVoiceMoveEvent extends GenericGuildVoiceEvent
Fired when a Member
for any reason is moved from one VoiceChannel
to another
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 |
VoiceChannel |
getChannelLeft() |
The
VoiceChannel that the Member is moved from |
getJDA, getResponseNumber
getGuild
getMember, getVoiceState
public GuildVoiceMoveEvent(JDA api, long responseNumber, Member member, VoiceChannel channelLeft)
public VoiceChannel getChannelLeft()
VoiceChannel
that the Member
is moved fromVoiceChannel
public VoiceChannel getChannelJoined()
VoiceChannel
that the Member
is moved toVoiceChannel