APIAuditLog

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

Signature

export interface APIAuditLog

Properties

application_commands: APIApplicationCommand[];

List of application commands found in the audit log See https://discord.com/developers/docs/interactions/application-commands#application-command-object

webhooks: APIWebhook[];

Webhooks found in the audit log See https://discord.com/developers/docs/resources/webhook#webhook-object

users: APIUser[];

Users found in the audit log See https://discord.com/developers/docs/resources/user#user-object

auto_moderation_rules: APIAutoModerationRule[];

List of auto moderation rules referenced in the audit log See https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object

threads: APIChannel[];

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. See https://discord.com/developers/docs/resources/channel#channel-object