Appearance
APIGuildAuditLogEntry
Package: @erinjs/types
Audit log entry from GET /guilds/{id}/audit-logs
Properties
| Name | Type | Readonly | Optional | Description |
|---|---|---|---|---|
action_type | number | No | No | |
changes | { key: string; old_value?: string | number | boolean | null; new_value?: string | number | boolean | null; }[] | No | Yes | Changed fields. Value types vary by action_type (e.g. string for name, number for permissions). |
id | string | No | No | |
reason | string | null | No | Yes | |
target_id | string | null | No | Yes | |
user_id | string | null | No | Yes |