Skip to main content

Module audit_log

Module audit_log 

Source
Expand description

Audit logs: the administrative actions taken in a guild, with what they changed.

An AuditLog (returned by GET /guilds/{guild.id}/audit-logs) holds AuditLogEntrys plus the users, webhooks, threads, commands and other objects they refer to. Each entry’s changes keep their “mixed” values as JsonValues, which convert to the field’s type on demand (D-070, D-072).

Structs§

AuditLog
A guild’s audit log: entries, most recent first, and the objects they refer to.
AuditLogChange
A change in an audit log entry: one field of the target, with its old and new value (D-070).
AuditLogEntry
An audit log entry: one administrative action.
AuditLogEntryOptions
The optional entry info of some event types (D-071): see each AuditLogEvent for the fields it has.

Enums§

AuditLogEvent
The action of an audit log entry.