AuditLogEntry
- class AuditLogEntry()
Base class for all audit log entries. Use a subclass narrowed by
actionTypefor typed change access.exported from
lib.weeble.dProperties
- AuditLogEntry.actionType
type: readonly
AuditLogActionTypeThe type of action this entry represents.
- AuditLogEntry.changes
type: readonly Record<string, { newValue?: unknown; oldValue?: unknown; }>
Raw changes object (use subclass for typed access).
- AuditLogEntry.options
type: readonly Record<string, unknown> | null
Additional action metadata supplied by Discord, or
null.
- AuditLogEntry.targetId
-
The ID of the affected resource (user, channel, role, etc.), or
null.
- AuditLogEntry.user
-
User who performed the audited action, or
nullif Discord omitted it.
- AuditLogEntry.userId
-
The ID of the user who performed the action, or
null.
Methods