Skip to main content
Module

x/discord_api_types/v9.ts>APIAutoModerationActionMetadata

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface APIAutoModerationActionMetadata
import { type APIAutoModerationActionMetadata } from "https://deno.land/x/discord_api_types@0.37.82/v9.ts";

Properties

optional
channel_id: Snowflake

Channel to which user content should be logged

Associated action type: AutoModerationActionType.SendAlertMessage

optional
duration_seconds: number

Timeout duration in seconds (Maximum of 4 weeks - 2419200 seconds)

Only available if using AutoModerationRuleTriggerType.Keyword

Associated action type: AutoModerationActionType.Timeout

optional
custom_message: string

Additional explanation that will be shown to members whenever their message is blocked (Maximum 150 characters)

Associated action type AutoModerationActionType.BlockMessage