Skip to main content

DiscordAuditLog

@discordeno/bot


Documentation / @discordeno/bot / DiscordAuditLog

Interface: DiscordAuditLog

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

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

Properties

application_commands

application_commands: DiscordApplicationCommand[]

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

List of application commands referenced in the audit log


audit_log_entries

audit_log_entries: DiscordAuditLogEntry[]

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

List of audit log entries, sorted from most to least recent


auto_moderation_rules?

optional auto_moderation_rules: DiscordAutoModerationRule[]

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

List of auto moderation rules referenced in the audit log


guild_scheduled_events?

optional guild_scheduled_events: DiscordScheduledEvent[]

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

List of guild scheduled events found in the audit log


integrations

integrations: Partial<DiscordIntegration>[]

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

List of partial integration objects


threads

threads: DiscordChannel[]

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

List of threads found in the audit log. Threads referenced in THREAD_CREATE and THREAD_UPDATE events are included in the threads map since archived threads might not be kept in memory by clients.


users

users: DiscordUser[]

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

List of users found in the audit log


webhooks

webhooks: DiscordWebhook[]

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

List of webhooks found in the audit log