Preview environment

interface APIAuditLog

export interface APIAuditLog

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

application_commands : APIApplicationCommand[]

List of application commands found in the audit log

See also: https://discord.com/developers/docs/interactions/application-commands#application-command-object

auto_moderation_rules : APIAutoModerationRule[]

List of auto moderation rules referenced in the audit log

See also: https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object

guild_scheduled_events : APIGuildScheduledEvent[]

The guild scheduled events in the audit log

See also: https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object

threads : APIChannel[]

Threads found in the audit logThreads 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.

See also: https://discord.com/developers/docs/resources/channel#channel-object

users : APIUser[]

Users found in the audit log

See also: https://discord.com/developers/docs/resources/user#user-object

webhooks : APIWebhook[]

Webhooks found in the audit log

See also: https://discord.com/developers/docs/resources/webhook#webhook-object