Class GuildUpdateSecurityIncidentActionsEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.guild.GenericGuildEvent
net.dv8tion.jda.api.events.guild.update.GenericGuildUpdateEvent<SecurityIncidentActions>
net.dv8tion.jda.api.events.guild.update.GuildUpdateSecurityIncidentActionsEvent
- All Implemented Interfaces:
GenericEvent
,UpdateEvent<Guild,
SecurityIncidentActions>
public class GuildUpdateSecurityIncidentActionsEvent
extends GenericGuildUpdateEvent<SecurityIncidentActions>
Indicates that the
SecurityIncidentActions
of a Guild
changed.
Can be used to detect when a guild pauses or unpauses invites.
Identifier: security_incident_actions
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGuildUpdateSecurityIncidentActionsEvent
(JDA api, long responseNumber, Guild guild, SecurityIncidentActions previous) -
Method Summary
Modifier and TypeMethodDescriptionThe new security incident actions, or null if disabled.The old security incident actions, or null if disabled.Methods inherited from class net.dv8tion.jda.api.events.guild.update.GenericGuildUpdateEvent
getEntity, getNewValue, getOldValue, getPropertyIdentifier
Methods inherited from class net.dv8tion.jda.api.events.guild.GenericGuildEvent
getGuild
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.dv8tion.jda.api.events.GenericEvent
getJDA, getRawData, getResponseNumber
Methods inherited from interface net.dv8tion.jda.api.events.UpdateEvent
getEntityType
-
Field Details
-
IDENTIFIER
- See Also:
-
-
Constructor Details
-
GuildUpdateSecurityIncidentActionsEvent
-
-
Method Details
-
getOldSecurityIncidentActions
The old security incident actions, or null if disabled.- Returns:
- The old incident actions
-
getNewSecurityIncidentActions
The new security incident actions, or null if disabled.- Returns:
- The new incident actions
-