Preview environment

interface AutoModerationActionMetadataOptions

export interface AutoModerationActionMetadataOptions extends BaseAutoModerationActionMetadata

Options used to set the metadata of an auto moderation rule action.

The channel to which content will be logged

external
customMessage : string

The custom message that is shown whenever a message is blocked

external
durationSeconds : number

The timeout duration in seconds