Skip to content

$setAutomodMentionRaidProtection

$setAutomodMentionRaidProtection will enable mention raid protection for the given automod rule.

Usage

$setAutomodMentionRaidProtection[type;channel;durationSeconds;customMessage?]

Parameters

FieldTypeDescriptionRequired
enabled?booleanEnable mention raid protection?false

Example(s)

This will create a new automod rule with the mention raid protection enabled.

1
client.command({
2
name: "setAutomodMentionRaidProtection",
3
code: `
4
$createAutomodRule[$guildid;Automod Rule;true;Creating a new rule!]
5
$setAutomodMentionRaidProtection[true]
6
`
7
});