DiscordAutoModerationActionMetadata
@discordeno/bot • Docs
Documentation / @discordeno/bot / DiscordAutoModerationActionMetadata
Interface: DiscordAutoModerationActionMetadata
Properties
channel_id?
optional
channel_id:string
The id of channel to which user content should be logged. Only in ActionType.SendAlertMessage
Defined in
packages/types/dist/types/discord.d.ts:2080
custom_message?
optional
custom_message:string
Additional explanation that will be shown to members whenever their message is blocked. Maximum of 150 characters. Only supported for AutoModerationActionType.BlockMessage
Defined in
packages/types/dist/types/discord.d.ts:2082
duration_seconds?
optional
duration_seconds:number
Timeout duration in seconds maximum of 2419200 seconds (4 weeks). Only supported for TriggerType.Keyword && Only in ActionType.Timeout
Defined in
packages/types/dist/types/discord.d.ts:2084