Nostrum v0.4.1 Nostrum.Struct.Guild.AuditLogEntry View Source
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
Link to this type
action_type()
View Source
action_type()
View Source
action_type() :: pos_integer()
action_type() :: pos_integer()
An audit log event identifier. See Audit log events
Link to this type
changes()
View Source
changes()
View Source
changes() ::
[
%{
optional(:old_value) => change_value(),
optional(:new_value) => change_value(),
:key => String.t()
}
]
| nil
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
Link to this type
id()
View Source
id()
View Source
id() :: Nostrum.Snowflake.t()
id() :: Nostrum.Snowflake.t()
The ID of this entry
Link to this type
options()
View Source
options()
View Source
options() :: Map.t() | nil
options() :: Map.t() | nil
Link to this type
reason()
View Source
reason()
View Source
reason() :: String.t() | nil
reason() :: String.t() | nil
The reason for this change, if applicable
Link to this type
target_id()
View Source
target_id()
View Source
target_id() :: String.t() | nil
target_id() :: String.t() | nil
The ID of the affected entity
Link to this type
user_id()
View Source
user_id()
View Source
user_id() :: Nostrum.Struct.User.id()
user_id() :: Nostrum.Struct.User.id()
The user who made the changes