Skip to main content

Module audit_log

Module audit_log 

Source
Expand description

Audit Logs, created whenever an administrative action is performed within a guild.

For additional information refer to Discord Docs/Audit Logs.

§Merging

Certain audit log actions support merging, so requests by the same user in quick succession update the data of the original entry, rather than always creating a new one. Only the reason of the first request in the batch is kept, and subsequent updates do not fire a Gateway event.

The following event types get merged:

Structs§

AffectedRole
Minimal amount of information about an affected role.
AuditLog
Paginated audit log entries with additional information.
AuditLogEntry
Entry in an AuditLog possibly containing a number of detailed changes.
AuditLogGuildIntegration
Information about a guild integration provided in an audit log.
AuditLogOptionalEntryInfo
Additional information for certain AuditLogEventTypes.

Enums§

AuditLogChange
Individual change within an AuditLogEntry.
AuditLogChangeKey
Type of AuditLogChange.
AuditLogChangeTypeValue
Value of a change which may be one of multiple types.
AuditLogEventType
Action to cause an AuditLogEntry.