Class GuildUpdateBannerEvent

    • Constructor Detail

      • GuildUpdateBannerEvent

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

      • getNewBannerId

        @Nullable
        public java.lang.String getNewBannerId()
        The new banner id
        Returns:
        The new banner id, or null if the banner was removed
      • getNewBannerUrl

        @Nullable
        public java.lang.String getNewBannerUrl()
        The new banner url
        Returns:
        The new banner url, or null if the banner was removed
      • getOldBannerId

        @Nullable
        public java.lang.String getOldBannerId()
        The old banner id
        Returns:
        The old banner id, or null if the banner didn't exist
      • getOldBannerUrl

        @Nullable
        public java.lang.String getOldBannerUrl()
        The old banner url
        Returns:
        The old banner url, or null if the banner didn't exist