Package org.javacord.api.event.server
Interface ServerChangeDescriptionEvent
-
- All Superinterfaces:
Event,ServerEvent
public interface ServerChangeDescriptionEvent extends ServerEvent
A server change description event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<java.lang.String>getNewDescription()Gets the new description of the server.java.util.Optional<java.lang.String>getOldDescription()Gets the old description of the server.-
Methods inherited from interface org.javacord.api.event.server.ServerEvent
getServer
-
-
-
-
Method Detail
-
getOldDescription
java.util.Optional<java.lang.String> getOldDescription()
Gets the old description of the server.- Returns:
- The old description of the server.
-
getNewDescription
java.util.Optional<java.lang.String> getNewDescription()
Gets the new description of the server.- Returns:
- The new description of the server.
-
-