Class GuildUpdateDescriptionEvent

    • Constructor Detail

      • GuildUpdateDescriptionEvent

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

      • getOldDescription

        @Nullable
        public java.lang.String getOldDescription()
        The old description for this guild
        Returns:
        The old description for this guild, or null if none was set
      • getNewDescription

        @Nullable
        public java.lang.String getNewDescription()
        The new description for this guild
        Returns:
        The new description, or null if it was removed