Package org.javacord.api.event.server
Interface ServerChangeSystemChannelEvent
-
- All Superinterfaces:
Event,ServerEvent
public interface ServerChangeSystemChannelEvent extends ServerEvent
A server change system channel event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<ServerTextChannel>getNewSystemChannel()Gets the new system channel of the server.java.util.Optional<ServerTextChannel>getOldSystemChannel()Gets the old system channel of the server.-
Methods inherited from interface org.javacord.api.event.server.ServerEvent
getServer
-
-
-
-
Method Detail
-
getOldSystemChannel
java.util.Optional<ServerTextChannel> getOldSystemChannel()
Gets the old system channel of the server.- Returns:
- The old system channel of the server.
-
getNewSystemChannel
java.util.Optional<ServerTextChannel> getNewSystemChannel()
Gets the new system channel of the server.- Returns:
- The new system channel of the server.
-
-