Package net.dv8tion.jda.api.audit
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
-
ClassDescriptionPlain-Old-Java-Object (POJO) representing a single change for an
AuditLogEntry
!
This object holds theold-
andnew value
for the updated field.Single entry for anAuditLogPaginationAction
.Enum of possible/expected keys that can be provided toAuditLogEntry.getChangeByKey(AuditLogEntry.AuditLogKey
.Enum constants for possible options
Providing detailed description of possible occasions and expected types.TargetType for anActionType
This describes what kind of Discord entity is being targeted by an auditable action!Thread-Local audit-log reason used automatically byAuditableRestAction
instances when no other reason was set.Allows to use try-with-resources blocks for setting reasons