Class GuildUpdateIconEvent

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

public class GuildUpdateIconEvent extends GenericGuildUpdateEvent<String>
Indicates that the Icon of a Guild changed.

Can be used to detect when a guild icon changes and retrieve the old one

Identifier: icon

  • Field Details

  • Constructor Details

  • Method Details

    • getOldIconId

      @Nullable public String getOldIconId()
      The old icon id
      Returns:
      The old icon id, or null
    • getOldIconUrl

      @Nullable public String getOldIconUrl()
      The url of the old icon
      Returns:
      The url of the old icon, or null
    • getNewIconId

      @Nullable public String getNewIconId()
      The old icon id
      Returns:
      The old icon id, or null
    • getNewIconUrl

      @Nullable public String getNewIconUrl()
      The url of the new icon
      Returns:
      The url of the new icon, or null