Skip to main content

DiscordAutoModerationActionMetadata

@discordeno/bot


Documentation / @discordeno/bot / DiscordAutoModerationActionMetadata

Interface: DiscordAutoModerationActionMetadata

Defined in: packages/types/dist/types/discord.d.ts:2081

Properties

channel_id?

optional channel_id: string

Defined in: packages/types/dist/types/discord.d.ts:2083

The id of channel to which user content should be logged. Only in ActionType.SendAlertMessage


custom_message?

optional custom_message: string

Defined in: packages/types/dist/types/discord.d.ts:2085

Additional explanation that will be shown to members whenever their message is blocked. Maximum of 150 characters. Only supported for AutoModerationActionType.BlockMessage


duration_seconds?

optional duration_seconds: number

Defined in: packages/types/dist/types/discord.d.ts:2087

Timeout duration in seconds maximum of 2419200 seconds (4 weeks). Only supported for TriggerType.Keyword && Only in ActionType.Timeout