APIAuditLogEntry
Hierarchy
- APIAuditLogEntry
Index
Properties
action_type
Type of action that occurred
See https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events
optionalchanges
Changes made to the target_id
See https://discord.com/developers/docs/resources/audit-log#audit-log-change-object
id
ID of the entry
optionaloptions
Additional info for certain action types
optionalreason
The reason for the change (0-512 characters)
target_id
ID of the affected entity (webhook, user, role, etc.)
user_id
The user who made the changes
This can be null
in some cases (webhooks deleting themselves by using their own token, for example)
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-entry-structure