Class GuildUpdateLocaleEvent

  • All Implemented Interfaces:
    GenericEvent, UpdateEvent<Guild,​java.util.Locale>

    public class GuildUpdateLocaleEvent
    extends GenericGuildUpdateEvent<java.util.Locale>
    Indicates that the Locale of a Guild changed.

    Can be used to detect when a Locale changes and retrieve the old one

    Identifier: locale

    Since:
    4.2.1
    • Constructor Detail

      • GuildUpdateLocaleEvent

        public GuildUpdateLocaleEvent​(@Nonnull
                                      JDA api,
                                      long responseNumber,
                                      @Nonnull
                                      Guild guild,
                                      @Nonnull
                                      java.util.Locale previous)