APIAuditLogEntry

export interface APIAuditLogEntry
export interface APIAuditLogEntry
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-entry-structure
action_type:AuditLogEvent
Type of action that occurredSee https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events
Changes made to the target_idSee https://discord.com/developers/docs/resources/audit-log#audit-log-change-object
ID of the entry
Additional info for certain action typesSee https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-optional-audit-entry-info
reason?:string
The reason for the change (0-512 characters)
target_id:string | null
ID of the affected entity (webhook, user, role, etc.)
user_id:Snowflake | null
The user who made the changesThis can be null in some cases (webhooks deleting themselves by using their own token, for example)