Skip to main content

DiscordAuditLogEntry

@discordeno/bot


Documentation / @discordeno/bot / DiscordAuditLogEntry

Interface: DiscordAuditLogEntry

Defined in: packages/types/dist/types/discord.d.ts:2115

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

Properties

action_type

action_type: AuditLogEvents

Defined in: packages/types/dist/types/discord.d.ts:2125

Type of action that occurred


changes?

optional changes: DiscordAuditLogChange[]

Defined in: packages/types/dist/types/discord.d.ts:2119

Changes made to the target_id


id

id: string

Defined in: packages/types/dist/types/discord.d.ts:2123

ID of the entry


options?

optional options: DiscordOptionalAuditEntryInfo

Defined in: packages/types/dist/types/discord.d.ts:2127

Additional info for certain event types


reason?

optional reason: string

Defined in: packages/types/dist/types/discord.d.ts:2129

Reason for the change (1-512 characters)


target_id

target_id: null | string

Defined in: packages/types/dist/types/discord.d.ts:2117

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


user_id

user_id: null | string

Defined in: packages/types/dist/types/discord.d.ts:2121

User or app that made the changes