Skip to content

APIGuildAuditLogEntry

Package: @erinjs/types

Audit log entry from GET /guilds/{id}/audit-logs

Properties

NameTypeReadonlyOptionalDescription
action_typenumberNoNo
changes{ key: string; old_value?: string | number | boolean | null; new_value?: string | number | boolean | null; }[]NoYesChanged fields. Value types vary by action_type (e.g. string for name, number for permissions).
idstringNoNo
reasonstring | nullNoYes
target_idstring | nullNoYes
user_idstring | nullNoYes

Released under the Apache-2.0 License.