Skip to main content

DiscordOptionalAuditEntryInfo

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordOptionalAuditEntryInfo

Interface: DiscordOptionalAuditEntryInfo

https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-optional-audit-entry-info

Properties

application_id?

optional application_id: string

ID of the app whose permissions were targeted.

Event types: APPLICATION_COMMAND_PERMISSION_UPDATE

Defined in

packages/types/dist/types/discord.d.ts:2180


auto_moderation_rule_name?

optional auto_moderation_rule_name: string

Name of the Auto Moderation rule that was triggered.

Event types: AUTO_MODERATION_BLOCK_MESSAGE, AUTO_MODERATION_FLAG_TO_CHANNEL, AUTO_MODERATION_USER_COMMUNICATION_DISABLED

Defined in

packages/types/dist/types/discord.d.ts:2186


auto_moderation_rule_trigger_type?

optional auto_moderation_rule_trigger_type: string

Trigger type of the Auto Moderation rule that was triggered.

Event types: AUTO_MODERATION_BLOCK_MESSAGE, AUTO_MODERATION_FLAG_TO_CHANNEL, AUTO_MODERATION_USER_COMMUNICATION_DISABLED

Defined in

packages/types/dist/types/discord.d.ts:2192


channel_id?

optional channel_id: string

Channel in which the entities were targeted.

Event types: MEMBER_MOVE, MESSAGE_PIN, MESSAGE_UNPIN, MESSAGE_DELETE, STAGE_INSTANCE_CREATE, STAGE_INSTANCE_UPDATE, STAGE_INSTANCE_DELETE

Defined in

packages/types/dist/types/discord.d.ts:2198


count?

optional count: string

Number of entities that were targeted.

Event types: MESSAGE_DELETE, MESSAGE_BULK_DELETE, MEMBER_DISCONNECT, MEMBER_MOVE

Defined in

packages/types/dist/types/discord.d.ts:2204


delete_member_days?

optional delete_member_days: string

Number of days after which inactive members were kicked.

Event types: MEMBER_PRUNE

Defined in

packages/types/dist/types/discord.d.ts:2210


id?

optional id: string

ID of the overwritten entity.

Event types: CHANNEL_OVERWRITE_CREATE, CHANNEL_OVERWRITE_UPDATE, CHANNEL_OVERWRITE_DELETE

Defined in

packages/types/dist/types/discord.d.ts:2216


integration_type?

optional integration_type: string

The type of integration which performed the action

Event types: MEMBER_KICK, MEMBER_ROLE_UPDATE

Defined in

packages/types/dist/types/discord.d.ts:2246


members_removed?

optional members_removed: string

Number of members removed by the prune.

Event types: MEMBER_PRUNE

Defined in

packages/types/dist/types/discord.d.ts:2222


message_id?

optional message_id: string

ID of the message that was targeted.

Event types: MESSAGE_PIN, MESSAGE_UNPIN, STAGE_INSTANCE_CREATE, STAGE_INSTANCE_UPDATE, STAGE_INSTANCE_DELETE

Defined in

packages/types/dist/types/discord.d.ts:2228


role_name?

optional role_name: string

Name of the role if type is "0" (not present if type is "1").

Event types: CHANNEL_OVERWRITE_CREATE, CHANNEL_OVERWRITE_UPDATE, CHANNEL_OVERWRITE_DELETE

Defined in

packages/types/dist/types/discord.d.ts:2234


type?

optional type: string

Type of overwritten entity - "0", for "role", or "1" for "member".

Event types: CHANNEL_OVERWRITE_CREATE, CHANNEL_OVERWRITE_UPDATE, CHANNEL_OVERWRITE_DELETE

Defined in

packages/types/dist/types/discord.d.ts:2240