Class GuildUpdateSplashEvent

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

public class GuildUpdateSplashEvent extends GenericGuildUpdateEvent<String>
Indicates that the splash of a Guild changed.

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

Identifier: splash

  • Field Details

  • Constructor Details

  • Method Details

    • getOldSplashId

      @Nullable public String getOldSplashId()
      The old splash id
      Returns:
      The old splash id, or null
    • getOldSplashUrl

      @Nullable public String getOldSplashUrl()
      The url of the old splash
      Returns:
      The url of the old splash, or null
    • getOldSplash

      @Nullable public ImageProxy getOldSplash()
      Returns an ImageProxy for this guild's old splash image.

      Note: the old splash may not always be downloadable as it might have been removed from Discord.

      Returns:
      Possibly-null ImageProxy of this guild's old splash image
      See Also:
    • getNewSplashId

      @Nullable public String getNewSplashId()
      The new splash id
      Returns:
      The new splash id, or null
    • getNewSplashUrl

      @Nullable public String getNewSplashUrl()
      The url of the new splash
      Returns:
      The url of the new splash, or null
    • getNewSplash

      @Nullable public ImageProxy getNewSplash()
      Returns an ImageProxy for this guild's new splash image.
      Returns:
      Possibly-null ImageProxy of this guild's new splash image
      See Also: