Class GuildUpdateLocaleEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.guild.GenericGuildEvent
net.dv8tion.jda.api.events.guild.update.GenericGuildUpdateEvent<DiscordLocale>
net.dv8tion.jda.api.events.guild.update.GuildUpdateLocaleEvent
- All Implemented Interfaces:
- GenericEvent,- UpdateEvent<Guild,- DiscordLocale> 
Indicates that the 
DiscordLocale of a Guild changed.
 Can be used to detect when a Locale changes and retrieve the old one
Identifier: locale
- Since:
- 4.2.1
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionGuildUpdateLocaleEvent(JDA api, long responseNumber, Guild guild, DiscordLocale previous) 
- 
Method SummaryModifier and TypeMethodDescriptionThe new valueThe old valueMethods inherited from class net.dv8tion.jda.api.events.guild.update.GenericGuildUpdateEventgetEntity, getPropertyIdentifierMethods inherited from class net.dv8tion.jda.api.events.guild.GenericGuildEventgetGuildMethods inherited from class net.dv8tion.jda.api.events.EventgetJDA, getRawData, getResponseNumber, toStringMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.dv8tion.jda.api.events.GenericEventgetJDA, getRawData, getResponseNumberMethods inherited from interface net.dv8tion.jda.api.events.UpdateEventgetEntityType
- 
Field Details- 
IDENTIFIER- See Also:
 
 
- 
- 
Constructor Details- 
GuildUpdateLocaleEvent
 
- 
- 
Method Details- 
getOldValueDescription copied from interface:UpdateEventThe old value- Specified by:
- getOldValuein interface- UpdateEvent<Guild,- DiscordLocale> 
- Overrides:
- getOldValuein class- GenericGuildUpdateEvent<DiscordLocale>
- Returns:
- The old value
 
- 
getNewValueDescription copied from interface:UpdateEventThe new value- Specified by:
- getNewValuein interface- UpdateEvent<Guild,- DiscordLocale> 
- Overrides:
- getNewValuein class- GenericGuildUpdateEvent<DiscordLocale>
- Returns:
- The new value
 
 
-