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