$setAutomodMentionRaidProtection
$setAutomodMentionRaidProtection
will enable mention raid protection for the given automod rule.
Usage
$setAutomodMentionRaidProtection[type;channel;durationSeconds;customMessage?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
enabled? | boolean | Enable mention raid protection? | false |
Example(s)
This will create a new automod rule with the mention raid protection enabled.
1client.command({2 name: "setAutomodMentionRaidProtection",3 code: `4 $createAutomodRule[$guildid;Automod Rule;true;Creating a new rule!]5 $setAutomodMentionRaidProtection[true]6 `7});