interface APIAuditLogEntry

external
export interface APIAuditLogEntry

See also: https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-entry-structure

optionalexternal
changes? : APIAuditLogChange[]

Changes made to the target_id

See also: https://discord.com/developers/docs/resources/audit-log#audit-log-change-object

external
id : Snowflake

ID of the entry

optionalexternal
reason? : string

The reason for the change (0-512 characters)

external
target_id : string | null

ID of the affected entity (webhook, user, role, etc.)

external
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)