Skip to main content
Version: 0.37.81

APIAutoModerationActionMetadata

Index

Properties

optionalchannel_id

channel_id?: string

Channel to which user content should be logged

optionalcustom_message

custom_message?: string

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

optionalduration_seconds

duration_seconds?: number

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

Only available if using AutoModerationRuleTriggerType.Keyword

Associated action type: AutoModerationActionType.Timeout