Discord.https - v3.0.16
    Preparing search index...

    Interface APIAutoModerationActionMetadata

    interface APIAutoModerationActionMetadata {
        channel_id?: string;
        custom_message?: string;
        duration_seconds?: number;
    }
    Index

    Properties

    channel_id?: string

    Channel to which user content should be logged

    Associated action type: AutoModerationActionType.SendAlertMessage

    custom_message?: string

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

    Associated action type AutoModerationActionType.BlockMessage

    duration_seconds?: number

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

    Only available if using AutoModerationRuleTriggerType.Keyword

    Associated action type: AutoModerationActionType.Timeout