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