Interface ServerVoiceChannelMemberLeaveEvent
-
- All Superinterfaces:
ChannelEvent,Event,ServerEvent,ServerVoiceChannelEvent,UserEvent,VoiceChannelEvent
public interface ServerVoiceChannelMemberLeaveEvent extends ServerVoiceChannelEvent, UserEvent
A server voice channel member leave event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<ServerVoiceChannel>getNewChannel()Gets the new channel of the event.booleanisMove()Gets whether this event is part of a move.-
Methods inherited from interface org.javacord.api.event.server.ServerEvent
getServer
-
Methods inherited from interface org.javacord.api.event.channel.server.voice.ServerVoiceChannelEvent
getChannel
-
-
-
-
Method Detail
-
getNewChannel
Optional<ServerVoiceChannel> getNewChannel()
Gets the new channel of the event.- Returns:
- The new channel of the event.
-
isMove
boolean isMove()
Gets whether this event is part of a move.- Returns:
- whether this event is part of a move.
-
-