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§
- Affected
Role - Minimal amount of information about an affected role.
- Audit
Log - Paginated audit log entries with additional information.
- Audit
LogEntry - Entry in an
AuditLogpossibly containing a number of detailed changes. - Audit
LogGuild Integration - Information about a guild integration provided in an audit log.
- Audit
LogOptional Entry Info - Additional information for certain
AuditLogEventTypes.
Enums§
- Audit
LogChange - Individual change within an
AuditLogEntry. - Audit
LogChange Key - Type of
AuditLogChange. - Audit
LogChange Type Value - Value of a change which may be one of multiple types.
- Audit
LogEvent Type - Action to cause an
AuditLogEntry.