EditAutoModerationRuleOptions
Documentation / @discordeno/types / EditAutoModerationRuleOptions
Interface: EditAutoModerationRuleOptions
Defined in: discordeno/autoModeration.ts:78
Properties
actions?
optionalactions?:DiscordenoAutoModerationAction[]
Defined in: discordeno/autoModeration.ts:86
The actions that will trigger for this rule
enabled?
optionalenabled?:boolean
Defined in: discordeno/autoModeration.ts:88
Whether the rule should be enabled.
eventType?
optionaleventType?:AutoModerationEventTypes
Defined in: discordeno/autoModeration.ts:82
The type of event to trigger the rule on.
exemptChannels?
optionalexemptChannels?:BigString[]
Defined in: discordeno/autoModeration.ts:92
The channel ids that should not be effected by the rule.
exemptRoles?
optionalexemptRoles?:BigString[]
Defined in: discordeno/autoModeration.ts:90
The role ids that should not be effected by the rule
name?
optionalname?:string
Defined in: discordeno/autoModeration.ts:80
The name of the rule.
triggerMetadata?
optionaltriggerMetadata?:object
Defined in: discordeno/autoModeration.ts:84
The metadata to use for the trigger.
allowList?
optionalallowList?:string[]
keywordFilter?
optionalkeywordFilter?:string[]
mentionRaidProtectionEnabled?
optionalmentionRaidProtectionEnabled?:boolean
mentionTotalLimit?
optionalmentionTotalLimit?:number
presets?
optionalpresets?:DiscordAutoModerationRuleTriggerMetadataPresets[]
regexPatterns?
optionalregexPatterns?:string[]