Class GuildUpdateEvent


  • public class GuildUpdateEvent
    extends GuildEvent
    Dispatched when a guild is updated.

    The old guild may not be present if guilds are not stored.

    This event is Dispatched by Discord.

    See Also:
    Guild Update
    • Method Detail

      • getCurrent

        public Guild getCurrent()
        Gets the current version of the Guild involved in this event.
        Returns:
        The current Guild involved in this event.
      • getOld

        public Optional<Guild> getOld()
        Gets the old version of the Guild involved in this event, if present. This may not be available if Guild are not stored.
        Returns:
        The old Guild involved in this event, if present.