Package org.javacord.api.event.server
Interface ServerChangeRulesChannelEvent
-
public interface ServerChangeRulesChannelEventA server change rules channel event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<ServerTextChannel>getNewRulesChannel()Gets the new rules channel of the server.Optional<ServerTextChannel>getOldRulesChannel()Gets the old rules channel of the server.
-
-
-
Method Detail
-
getOldRulesChannel
Optional<ServerTextChannel> getOldRulesChannel()
Gets the old rules channel of the server.- Returns:
- The old rules channel of the server.
-
getNewRulesChannel
Optional<ServerTextChannel> getNewRulesChannel()
Gets the new rules channel of the server.- Returns:
- The new rules channel of the server.
-
-