Class GuildUpdateSecurityIncidentDetectionsEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.guild.GenericGuildEvent
net.dv8tion.jda.api.events.guild.update.GenericGuildUpdateEvent<SecurityIncidentDetections>
net.dv8tion.jda.api.events.guild.update.GuildUpdateSecurityIncidentDetectionsEvent
- All Implemented Interfaces:
GenericEvent,UpdateEvent<Guild,SecurityIncidentDetections>
public class GuildUpdateSecurityIncidentDetectionsEvent
extends GenericGuildUpdateEvent<SecurityIncidentDetections>
Indicates that the
SecurityIncidentDetections of a Guild changed.
Can be used to detect when Discord detects a raid or spammers in direct messages.
Identifier: security_incident_detections
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGuildUpdateSecurityIncidentDetectionsEvent(JDA api, long responseNumber, Guild guild, SecurityIncidentDetections 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, getPropertyIdentifierMethods inherited from class net.dv8tion.jda.api.events.guild.GenericGuildEvent
getGuildMethods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.dv8tion.jda.api.events.GenericEvent
getJDA, getRawData, getResponseNumberMethods inherited from interface net.dv8tion.jda.api.events.UpdateEvent
getEntityType
-
Field Details
-
IDENTIFIER
- See Also:
-
-
Constructor Details
-
GuildUpdateSecurityIncidentDetectionsEvent
-
-
Method Details
-
getOldSecurityIncidentDetections
The old security incident actions, or null if disabled.- Returns:
- The old incident actions
-
getNewSecurityIncidentDetections
The new security incident actions, or null if disabled.- Returns:
- The new incident actions
-