Skip to main content

DiscordAuditLogEntry

@discordeno/bot


Documentation / @discordeno/bot / DiscordAuditLogEntry

Interface: DiscordAuditLogEntry

Defined in: packages/types/dist/types/discord/auditLog.d.ts:37

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/auditLog.d.ts:47

Type of action that occurred


changes?

optional changes: DiscordAuditLogChange[]

Defined in: packages/types/dist/types/discord/auditLog.d.ts:41

Changes made to the target_id


id

id: string

Defined in: packages/types/dist/types/discord/auditLog.d.ts:45

ID of the entry


options?

optional options: DiscordOptionalAuditEntryInfo

Defined in: packages/types/dist/types/discord/auditLog.d.ts:49

Additional info for certain event types


reason?

optional reason: string

Defined in: packages/types/dist/types/discord/auditLog.d.ts:51

Reason for the change (1-512 characters)


target_id

target_id: null | string

Defined in: packages/types/dist/types/discord/auditLog.d.ts:39

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


user_id

user_id: null | string

Defined in: packages/types/dist/types/discord/auditLog.d.ts:43

User or app that made the changes