Class GuildUpdateDescriptionEvent

All Implemented Interfaces:
GenericEvent, UpdateEvent<Guild,String>

public class GuildUpdateDescriptionEvent extends GenericGuildUpdateEvent<String>
Indicates that the description of a Guild changed.

Can be used to detect when the description changes and retrieve the old one

Identifier: description

  • Field Details Link icon

  • Constructor Details Link icon

  • Method Details Link icon

    • getOldDescription Link icon

      @Nullable public String getOldDescription()
      The old description for this guild
      Returns:
      The old description for this guild, or null if none was set
    • getNewDescription Link icon

      @Nullable public String getNewDescription()
      The new description for this guild
      Returns:
      The new description, or null if it was removed