Lingo.Type.AuditLogEntry (Lingo v0.4.2)

Copy Markdown View Source

One audit log entry. Also the payload of :guild_audit_log_entry_create events.

action_type is Discord's audit log event, lowercased (:member_ban_add, :message_delete, ...); types newer than Lingo stay integers.

Summary

Types

t()

@type t() :: %Lingo.Type.AuditLogEntry{
  action_type: atom() | integer(),
  changes: [map()],
  guild_id: String.t() | nil,
  id: String.t(),
  options: map() | nil,
  reason: String.t() | nil,
  target_id: String.t() | nil,
  user_id: String.t() | nil
}