Skip to content

AutoModerationActionMetadataOptions

typedef · Source

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

Properties

channel

optional

channel: GuildTextChannelResolvable | ThreadChannel

The channel to which content will be logged

durationSeconds

optional

durationSeconds: number

The timeout duration in seconds

customMessage

optional

customMessage: string

The custom message that is shown whenever a message is blocked

Unofficial software. Not affiliated with or supported by Discord.