DiscordOptionalAuditEntryInfo
Documentation / @discordeno/types / DiscordOptionalAuditEntryInfo
Interface: DiscordOptionalAuditEntryInfo
Defined in: discord/auditLog.ts:222
Properties
application_id?
optionalapplication_id?:string
Defined in: discord/auditLog.ts:229
ID of the app whose permissions were targeted.
Remarks
Oly present on event of type: APPLICATION_COMMAND_PERMISSION_UPDATE
auto_moderation_rule_name?
optionalauto_moderation_rule_name?:string
Defined in: discord/auditLog.ts:236
Name of the Auto Moderation rule that was triggered.
Remarks
Only present on event of types: AUTO_MODERATION_BLOCK_MESSAGE, AUTO_MODERATION_FLAG_TO_CHANNEL, AUTO_MODERATION_USER_COMMUNICATION_DISABLED, AUTO_MODERATION_QUARANTINE_USER
auto_moderation_rule_trigger_type?
optionalauto_moderation_rule_trigger_type?:string
Defined in: discord/auditLog.ts:243
Trigger type of the Auto Moderation rule that was triggered.
Remarks
Only present on event of types: AUTO_MODERATION_BLOCK_MESSAGE, AUTO_MODERATION_FLAG_TO_CHANNEL, AUTO_MODERATION_USER_COMMUNICATION_DISABLED, AUTO_MODERATION_QUARANTINE_USER
channel_id?
optionalchannel_id?:string
Defined in: discord/auditLog.ts:250
Channel in which the entities were targeted.
Remarks
Only present on event of types: MEMBER_MOVE, MESSAGE_PIN, MESSAGE_UNPIN, MESSAGE_DELETE, STAGE_INSTANCE_CREATE, STAGE_INSTANCE_UPDATE, STAGE_INSTANCE_DELETE, AUTO_MODERATION_BLOCK_MESSAGE, AUTO_MODERATION_FLAG_TO_CHANNEL, AUTO_MODERATION_USER_COMMUNICATION_DISABLED, AUTO_MODERATION_QUARANTINE_USER
count?
optionalcount?:string
Defined in: discord/auditLog.ts:257
Number of entities that were targeted.
Remarks
Only present on event of types: MESSAGE_DELETE, MESSAGE_BULK_DELETE, MEMBER_DISCONNECT, MEMBER_MOVE
delete_member_days?
optionaldelete_member_days?:string
Defined in: discord/auditLog.ts:264
Number of days after which inactive members were kicked.
Remarks
Only present on event of type: MEMBER_PRUNE
id?
optionalid?:string
Defined in: discord/auditLog.ts:271
ID of the overwritten entity.
Remarks
Only present on event of types: CHANNEL_OVERWRITE_CREATE, CHANNEL_OVERWRITE_UPDATE, CHANNEL_OVERWRITE_DELETE
integration_type?
optionalintegration_type?:string
Defined in: discord/auditLog.ts:306
The type of integration which performed the action
Remarks
Only present on event of types: MEMBER_KICK, MEMBER_ROLE_UPDATE
members_removed?
optionalmembers_removed?:string
Defined in: discord/auditLog.ts:278
Number of members removed by the prune.
Remarks
Only present on event of types: MEMBER_PRUNE
message_id?
optionalmessage_id?:string
Defined in: discord/auditLog.ts:285
ID of the message that was targeted.
Remarks
Only present on event of types: MESSAGE_PIN, MESSAGE_UNPIN, STAGE_INSTANCE_CREATE, STAGE_INSTANCE_UPDATE, STAGE_INSTANCE_DELETE
role_name?
optionalrole_name?:string
Defined in: discord/auditLog.ts:292
Name of the role if type is "0" (not present if type is "1").
Remarks
Only present on event of types: CHANNEL_OVERWRITE_CREATE, CHANNEL_OVERWRITE_UPDATE, CHANNEL_OVERWRITE_DELETE
type?
optionaltype?:string
Defined in: discord/auditLog.ts:299
Type of overwritten entity - "0", for "role", or "1" for "member".
Remarks
Only present on event of types: CHANNEL_OVERWRITE_CREATE, CHANNEL_OVERWRITE_UPDATE, CHANNEL_OVERWRITE_DELETE