interface AutoModerationActionMetadataOptions

export interface AutoModerationActionMetadataOptions extends Partial<Omit<AutoModerationActionMetadata, 'channelId'>>

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

Constructors

constructor()

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