Class GuildUpdateSplashEvent

  • All Implemented Interfaces:
    GenericEvent, UpdateEvent<Guild,​java.lang.String>

    public class GuildUpdateSplashEvent
    extends GenericGuildUpdateEvent<java.lang.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

    • Constructor Detail

      • GuildUpdateSplashEvent

        public GuildUpdateSplashEvent​(@Nonnull
                                      JDA api,
                                      long responseNumber,
                                      @Nonnull
                                      Guild guild,
                                      @Nullable
                                      java.lang.String oldSplashId)
    • Method Detail

      • getOldSplashId

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

        @Nullable
        public java.lang.String getOldSplashUrl()
        The url of the old splash
        Returns:
        The url of the old splash, or null
      • getNewSplashId

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

        @Nullable
        public java.lang.String getNewSplashUrl()
        The url of the new splash
        Returns:
        The url of the new splash, or null