Class GuildUpdateSafetyAlertsChannelEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.guild.GenericGuildEvent
net.dv8tion.jda.api.events.guild.update.GenericGuildUpdateEvent<TextChannel>
net.dv8tion.jda.api.events.guild.update.GuildUpdateSafetyAlertsChannelEvent
- All Implemented Interfaces:
- GenericEvent,- UpdateEvent<Guild,- TextChannel> 
Indicates that the safety alert channel of a 
Guild changed.
 Can be used to detect when a guild safety alert changes and retrieve the old one
Identifier: safety_alerts_channel
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionGuildUpdateSafetyAlertsChannelEvent(JDA api, long responseNumber, Guild guild, TextChannel oldSafetyAlertsChannel) 
- 
Method SummaryModifier and TypeMethodDescriptionThe new safety alert channel.The previous safety alert channel.Methods inherited from class net.dv8tion.jda.api.events.guild.update.GenericGuildUpdateEventgetEntity, getNewValue, getOldValue, 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- 
GuildUpdateSafetyAlertsChannelEvent
 
- 
- 
Method Details- 
getOldSafetyAlertsChannelThe previous safety alert channel.- Returns:
- The previous safety alert channel
 
- 
getNewSafetyAlertsChannelThe new safety alert channel.- Returns:
- The new safety alert channel
 
 
-