APIAuditLogEntry
Index
Properties
action_type
Type of action that occurred
optionalchanges
Changes made to the target_id
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