Skip to main content

DiscordAuditLog

Documentation


Documentation / @discordeno/types / DiscordAuditLog

Interface: DiscordAuditLog

Defined in: discord/auditLog.ts:18

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

Properties

application_commands

application_commands: DiscordApplicationCommand[]

Defined in: discord/auditLog.ts:20

List of application commands referenced in the audit log


audit_log_entries

audit_log_entries: DiscordAuditLogEntry[]

Defined in: discord/auditLog.ts:22

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


auto_moderation_rules

auto_moderation_rules: DiscordAutoModerationRule[]

Defined in: discord/auditLog.ts:24

List of auto moderation rules referenced in the audit log


guild_scheduled_events

guild_scheduled_events: DiscordScheduledEvent[]

Defined in: discord/auditLog.ts:26

List of guild scheduled events found in the audit log


integrations

integrations: Partial<DiscordIntegration>[]

Defined in: discord/auditLog.ts:28

List of partial integration objects


threads

threads: DiscordChannel[]

Defined in: discord/auditLog.ts:35

List of threads found in the audit log.

Remarks

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: discord/auditLog.ts:37

List of users found in the audit log


webhooks

webhooks: DiscordWebhook[]

Defined in: discord/auditLog.ts:39

List of webhooks found in the audit log