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

  • Constructor Details

  • Method Details

    • getOldDescription

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

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