GuildVoiceLeaveEvent, GuildVoiceMoveEventpublic class GuildVoiceUpdateEvent extends GenericGuildVoiceEvent
Member that was previously connected
to a VoiceChannel left the previously connected Channel.
GuildVoiceLeaveEvent
and GuildVoiceMoveEvent for convenience.
Can be used to detect when a Member leaves a channel in any way
| 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, getResponseNumbergetGuildgetMember, getVoiceStatepublic GuildVoiceUpdateEvent​(JDA api, long responseNumber, Member member, VoiceChannel oldChannel)
public VoiceChannel getChannelLeft()
VoiceChannel that the Member is moved fromVoiceChannel