GuildVoiceLeaveEvent
, GuildVoiceMoveEvent
public class GuildVoiceUpdateEvent extends GenericGuildVoiceEvent
GuildVoiceLeaveEvent
and GuildVoiceMoveEvent
for convenience.
Member
that was previously connected
to a VoiceChannel
leaves the previously connected Channel.
Use: See when a Member leaves a channel
Constructor | Description |
---|---|
GuildVoiceUpdateEvent(JDA api,
long responseNumber,
Member member,
VoiceChannel oldChannel) |
Modifier and Type | Method | Description |
---|---|---|
VoiceChannel |
getChannelLeft() |
The
VoiceChannel that the Member is moved from |
getJDA, getResponseNumber
getGuild
getMember, getVoiceState
public GuildVoiceUpdateEvent(JDA api, long responseNumber, Member member, VoiceChannel oldChannel)
public VoiceChannel getChannelLeft()
VoiceChannel
that the Member
is moved fromVoiceChannel