import { type APIAuditLogEntry } from "https://deno.land/x/discord_api_types@0.37.30/payloads/v9/mod.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