AuditLogEntry
- class AuditLogEntry
Base class for all audit log entries. Use a subclass narrowed by
actionTypefor typed change access.Properties
Property
Type
Description
actionTypeThe type of action this entry represents.
changesRaw changes object (use subclass for typed access).
idThe ID of the audit log entry.
optionsAdditional action metadata supplied by Discord, or
null.reasonReason for the action, or
nullif not provided.targetIdThe ID of the affected resource (user, channel, role, etc.), or
null.userUser who performed the audited action, or
nullif Discord omitted it.userIdThe ID of the user who performed the action, or
null.Methods