View Source Nostrum.Struct.Guild.AuditLogEntry (Nostrum v0.8.0)
Represents a single entry in the guild's audit log.
Link to this section Summary
Types
An audit log event identifier. See Audit log events
The ID of this entry
The reason for this change, if applicable
The ID of the affected entity
The user who made the changes
Link to this section Types
@type action_type() :: pos_integer()
An audit log event identifier. See Audit log events
@type changes() :: [ %{ optional(:old_value) => change_value(), optional(:new_value) => change_value(), key: String.t() } ] | nil
Individual changes of this audit log entry. Change keys are documented here
@type id() :: Nostrum.Snowflake.t()
The ID of this entry
@type options() :: map() | nil
@type reason() :: String.t() | nil
The reason for this change, if applicable
@type target_id() :: String.t() | nil
The ID of the affected entity
@type user_id() :: Nostrum.Struct.User.id()
The user who made the changes