Class SecurityIncidentDetections
java.lang.Object
net.dv8tion.jda.api.entities.guild.SecurityIncidentDetections
Detected security incidents of a
Guild
.-
Field Details
-
EMPTY
-
-
Constructor Details
-
SecurityIncidentDetections
public SecurityIncidentDetections(long dmSpamDetectedAt, long raidDetectedAt)
-
-
Method Details
-
getTimeDetectedDmSpam
Timestamp when Discord detected spam in direct messages.- Returns:
OffsetDateTime
of the detection, or null when there is no current detection
-
getTimeDetectedRaid
Timestamp when Discord detected an ongoing raid.- Returns:
OffsetDateTime
of the detection, or null when there is no current detection
-
hashCode
public int hashCode() -
equals
-
toString
-