Deprecated
API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.
import { type APIAuditLogEntry } from "https://deno.land/x/discord_api_types@0.37.18/payloads/v8/auditLog.ts";
Properties
optional
changes: APIAuditLogChange[]Changes made to the target_id
See https://discord.com/developers/docs/resources/audit-log#audit-log-change-object
user_id: Snowflake | null
The user who made the changes
This can be null
in some cases (webhooks deleting themselves by using their own token, for example)
id: Snowflake
ID of the entry
action_type: AuditLogEvent
Type of action that occurred
See https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events
optional
options: APIAuditLogOptionsAdditional info for certain action types