AutoModerationActionOptions
typedef · Source
Options used to set the actions of an auto moderation rule. Type: Object
Properties
type
type: AutoModerationActionType
The type of this auto moderation rule action
metadata
optional
metadata: AutoModerationActionMetadataOptions
Additional metadata needed during execution This property is required if using a type of AutoModerationActionType.SEND_ALERT_MESSAGE or AutoModerationActionType.TIMEOUT.