public class VoiceChannelUpdateEvent extends ChannelEvent
VoiceChannel
is deleted in a guild.
The old category may not be present if voice channels are not stored.
Constructor and Description |
---|
VoiceChannelUpdateEvent(DiscordClient client,
VoiceChannel current,
VoiceChannel old) |
Modifier and Type | Method and Description |
---|---|
VoiceChannel |
getCurrent() |
Optional<VoiceChannel> |
getOld() |
String |
toString() |
public VoiceChannelUpdateEvent(DiscordClient client, VoiceChannel current, @Nullable VoiceChannel old)
public VoiceChannel getCurrent()
public Optional<VoiceChannel> getOld()