Class GuildUpdateVanityCodeEvent

    • Constructor Detail

      • GuildUpdateVanityCodeEvent

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

      • getOldVanityCode

        @Nullable
        public java.lang.String getOldVanityCode()
        The old vanity code
        Returns:
        The old vanity code
      • getOldVanityUrl

        @Nullable
        public java.lang.String getOldVanityUrl()
        The old vanity url
        Returns:
        The old vanity url
      • getNewVanityCode

        @Nullable
        public java.lang.String getNewVanityCode()
        The new vanity code
        Returns:
        The new vanity code
      • getNewVanityUrl

        @Nullable
        public java.lang.String getNewVanityUrl()
        The new vanity url
        Returns:
        The new vanity url