Interface AuditLogEntryOptions

Hierarchy

  • AuditLogEntryOptions

Properties

applicationID?: string

ID of the app whose permissions were targeted - valid for: APPLICATION_COMMAND_PERMISSION_UPDATE

autoModerationRuleName?: string

Name of the auto moderation rule that was triggered - valid for: AUTO_MODERATION_BLOCK_MESSAGE, AUTO_MODERATION_FLAG_TO_CHANNEL, AUTO_MODERATION_USER_COMMUNICATION_DISABLED

autoModerationRuleTriggerType?: string

Trigger type of the auto moderation rule that was triggered - valid for: AUTO_MODERATION_BLOCK_MESSAGE, AUTO_MODERATION_FLAG_TO_CHANNEL, AUTO_MODERATION_USER_COMMUNICATION_DISABLED

channelID?: string

Channel in which the entities were targeted - valid for: MEMBER_MOVE, MESSAGE_PIN, MESSAGE_UNPIN, MESSAGE_DELETE, STAGE_INSTANCE_CREATE, STAGE_INSTANCE_UPDATE, STAGE_INSTANCE_DELETE

count?: number

Number of entities that were targeted - valid for: MESSAGE_DELETE, MESSAGE_BULK_DELETE, MEMBER_DISCONNECT, MEMBER_MOVE

deleteMemberDays?: number

Number of days after which inactive members were kicked - valid for: MEMBER_PRUNE

id?: string

ID of the overwritten entity - valid for: CHANNEL_OVERWRITE_CREATE, CHANNEL_OVERWRITE_UPDATE, CHANNEL_OVERWRITE_DELETE

integrationType?: string

The type of interaction - valid for: MEMBER_KICK, MEMBER_ROLE_UPDATE

membersRemoved?: number

Number of members removed by the prune - valid for: MEMBER_PRUNE

messageID?: string

ID of the message that was targeted - valid for: MESSAGE_PIN, MESSAGE_UNPIN

roleName?: string

Name of the role if type is "0" (not present if type is "1") - valid for: CHANNEL_OVERWRITE_CREATE, CHANNEL_OVERWRITE_UPDATE, CHANNEL_OVERWRITE_DELETE

status?: string

The status set in a voice channel - valid for: VOICE_CHANNEL_STATUS_CREATE

type?: "0" | "1"

Type of overwritten entity - role ("0") or member ("1") - valid for: CHANNEL_OVERWRITE_CREATE, CHANNEL_OVERWRITE_UPDATE, CHANNEL_OVERWRITE_DELETE