Preview environment

interface APIAuditLogEntry

export interface APIAuditLogEntry

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

ID of the entry

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