interface APIAuditLogEntry

external
export interface APIAuditLogEntry

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

external
action_type : AuditLogEvent

Type of action that occurredSee https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events

optionalexternal
changes? : APIAuditLogChange[]

Changes made to the target_idSee https://discord.com/developers/docs/resources/audit-log#audit-log-change-object

external
id : Snowflake

ID of the entry

optionalexternal
options? : APIAuditLogOptions

Additional info for certain action typesSee https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-optional-audit-entry-info

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)