Package net.dv8tion.jda.api.audit
Implementation for
AuditLogEntry
and all utilities needed for its structure.
To retrieve entries use the AuditLogPaginationAction
which can be retrieved from any Guild
instance
through Guild.retrieveAuditLogs()
.
Each Entry contains a set of AuditLogChanges
.
To identify what kind of entry is represented use ActionType
!
- Since:
- 3.1.1
-
Class Summary Class Description AuditLogChange Plain-Old-Java-Object (POJO) representing a single change for anAuditLogEntry
!
This object holds theold-
andnew value
for the updated field.AuditLogEntry Single entry for anAuditLogPaginationAction
.ThreadLocalReason Thread-Local audit-log reason used automatically byAuditableRestAction
instances when no other reason was set.ThreadLocalReason.Closable Allows to use try-with-resources blocks for setting reasons -
Enum Summary Enum Description ActionType AuditLogKey Enum of possible/expected keys that can be provided toAuditLogEntry.getChangeByKey(AuditLogEntry.AuditLogKey
.AuditLogOption Enum constants for possible options
Providing detailed description of possible occasions and expected types.TargetType TargetType for anActionType
This describes what kind of Discord entity is being targeted by an auditable action!