Skip to main content

DiscordAuditLogEntry

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordAuditLogEntry

Interface: DiscordAuditLogEntry

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

Properties

action_type

action_type: AuditLogEvents

Type of action that occurred

Defined in

packages/types/dist/types/discord.d.ts:2122


changes?

optional changes: DiscordAuditLogChange[]

Changes made to the target_id

Defined in

packages/types/dist/types/discord.d.ts:2116


id

id: string

ID of the entry

Defined in

packages/types/dist/types/discord.d.ts:2120


options?

optional options: DiscordOptionalAuditEntryInfo

Additional info for certain event types

Defined in

packages/types/dist/types/discord.d.ts:2124


reason?

optional reason: string

Reason for the change (1-512 characters)

Defined in

packages/types/dist/types/discord.d.ts:2126


target_id

target_id: null | string

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

Defined in

packages/types/dist/types/discord.d.ts:2114


user_id

user_id: null | string

User or app that made the changes

Defined in

packages/types/dist/types/discord.d.ts:2118