Skip to main content

DiscordAuditLogEntry

Documentation


Documentation / @discordeno/types / DiscordAuditLogEntry

Interface: DiscordAuditLogEntry

Defined in: discord/auditLog.ts:43

https://docs.discord.com/developers/resources/audit-log#audit-log-entry-object-audit-log-entry-structure

Properties

action_type

action_type: AuditLogEvents

Defined in: discord/auditLog.ts:53

Type of action that occurred


changes?

optional changes?: DiscordAuditLogChange[]

Defined in: discord/auditLog.ts:47

Changes made to the target_id


id

id: string

Defined in: discord/auditLog.ts:51

ID of the entry


options?

optional options?: DiscordOptionalAuditEntryInfo

Defined in: discord/auditLog.ts:55

Additional info for certain event types


reason?

optional reason?: string

Defined in: discord/auditLog.ts:57

Reason for the change (1-512 characters)


target_id

target_id: string | null

Defined in: discord/auditLog.ts:45

ID of the affected entity (webhook, user, role, etc.)


user_id

user_id: string | null

Defined in: discord/auditLog.ts:49

User or app that made the changes