mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
api-docs: Document automod quarantine audit log action type (#4264)
This commit is contained in:
@@ -173,6 +173,8 @@ export enum AuditLogEvents {
|
||||
AudoModerationFlagMessage,
|
||||
/** Member was timed out by AutoMod */
|
||||
AutoModerationMemberTimedOut,
|
||||
/** Member was quarantined by Auto Moderation */
|
||||
AutoModerationQuarantineUser,
|
||||
/** Creator monetization request was created */
|
||||
CreatorMonetizationRequestCreated = 150,
|
||||
/** Creator monetization terms were accepted */
|
||||
@@ -229,21 +231,21 @@ export interface DiscordOptionalAuditEntryInfo {
|
||||
* 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`
|
||||
* 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_name?: string
|
||||
/**
|
||||
* 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`
|
||||
* 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?: string
|
||||
/**
|
||||
* 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`
|
||||
* 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`
|
||||
*/
|
||||
channel_id?: string
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user