AutoModerationRuleBuilder.mentionSpam constructor
Implementation
AutoModerationRuleBuilder.mentionSpam({
required this.name,
required this.eventType,
required this.actions,
this.isEnabled,
this.exemptRoleIds,
this.exemptChannelIds,
required int mentionTotalLimit,
bool? isMentionRaidProtectionEnabled,
}) : triggerType = TriggerType.mentionSpam,
metadata = TriggerMetadataBuilder(
mentionTotalLimit: mentionTotalLimit,
isMentionRaidProtectionEnabled: isMentionRaidProtectionEnabled,
);