diff --git a/deno/payloads/v10/autoModeration.ts b/deno/payloads/v10/autoModeration.ts index 9b08e73e..45718837 100644 --- a/deno/payloads/v10/autoModeration.ts +++ b/deno/payloads/v10/autoModeration.ts @@ -169,7 +169,8 @@ export interface APIAutoModerationAction { */ export enum AutoModerationActionType { /** - * Blocks the content of a message according to the rule + * Blocks a member's message and prevents it from being posted. + * A custom explanation can be specified and shown to members whenever their message is blocked */ BlockMessage = 1, /** @@ -200,4 +201,10 @@ export interface APIAutoModerationActionMetadata { * Associated action type: {@link AutoModerationActionType.Timeout} */ duration_seconds?: number; + /** + * Additional explanation that will be shown to members whenever their message is blocked (Maximum 150 characters) + * + * Associated action type {@link AutoModerationActionType.BlockMessage} + */ + custom_message?: string; } diff --git a/deno/payloads/v9/autoModeration.ts b/deno/payloads/v9/autoModeration.ts index 9b08e73e..45718837 100644 --- a/deno/payloads/v9/autoModeration.ts +++ b/deno/payloads/v9/autoModeration.ts @@ -169,7 +169,8 @@ export interface APIAutoModerationAction { */ export enum AutoModerationActionType { /** - * Blocks the content of a message according to the rule + * Blocks a member's message and prevents it from being posted. + * A custom explanation can be specified and shown to members whenever their message is blocked */ BlockMessage = 1, /** @@ -200,4 +201,10 @@ export interface APIAutoModerationActionMetadata { * Associated action type: {@link AutoModerationActionType.Timeout} */ duration_seconds?: number; + /** + * Additional explanation that will be shown to members whenever their message is blocked (Maximum 150 characters) + * + * Associated action type {@link AutoModerationActionType.BlockMessage} + */ + custom_message?: string; } diff --git a/payloads/v10/autoModeration.ts b/payloads/v10/autoModeration.ts index 2670e14f..1f85c6c6 100644 --- a/payloads/v10/autoModeration.ts +++ b/payloads/v10/autoModeration.ts @@ -169,7 +169,8 @@ export interface APIAutoModerationAction { */ export enum AutoModerationActionType { /** - * Blocks the content of a message according to the rule + * Blocks a member's message and prevents it from being posted. + * A custom explanation can be specified and shown to members whenever their message is blocked */ BlockMessage = 1, /** @@ -200,4 +201,10 @@ export interface APIAutoModerationActionMetadata { * Associated action type: {@link AutoModerationActionType.Timeout} */ duration_seconds?: number; + /** + * Additional explanation that will be shown to members whenever their message is blocked (Maximum 150 characters) + * + * Associated action type {@link AutoModerationActionType.BlockMessage} + */ + custom_message?: string; } diff --git a/payloads/v9/autoModeration.ts b/payloads/v9/autoModeration.ts index 2670e14f..1f85c6c6 100644 --- a/payloads/v9/autoModeration.ts +++ b/payloads/v9/autoModeration.ts @@ -169,7 +169,8 @@ export interface APIAutoModerationAction { */ export enum AutoModerationActionType { /** - * Blocks the content of a message according to the rule + * Blocks a member's message and prevents it from being posted. + * A custom explanation can be specified and shown to members whenever their message is blocked */ BlockMessage = 1, /** @@ -200,4 +201,10 @@ export interface APIAutoModerationActionMetadata { * Associated action type: {@link AutoModerationActionType.Timeout} */ duration_seconds?: number; + /** + * Additional explanation that will be shown to members whenever their message is blocked (Maximum 150 characters) + * + * Associated action type {@link AutoModerationActionType.BlockMessage} + */ + custom_message?: string; }