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,
                                      Guild guild,
                                      java.lang.String oldSplashId)
    • Method Detail

      • getOldSplashId

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

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

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

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