Package org.javacord.api.event.server
Interface ServerChangeVanityUrlCodeEvent
-
- All Superinterfaces:
Event,ServerEvent
public interface ServerChangeVanityUrlCodeEvent extends ServerEvent
A server change vanity url code event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<VanityUrlCode>getNewVanityUrlCode()Gets the new vanity url code of the server.Optional<VanityUrlCode>getOldVanityUrlCode()Gets the old vanity url code of the server.-
Methods inherited from interface org.javacord.api.event.server.ServerEvent
getServer
-
-
-
-
Method Detail
-
getOldVanityUrlCode
Optional<VanityUrlCode> getOldVanityUrlCode()
Gets the old vanity url code of the server.- Returns:
- The old vanity url code of the server.
-
getNewVanityUrlCode
Optional<VanityUrlCode> getNewVanityUrlCode()
Gets the new vanity url code of the server.- Returns:
- The new vanity url code of the server.
-
-