$setAutomodPreset
$setAutomodPreset
will set the keyword preset for blocked words of automod rules.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
…presets | string | The preset type. | true |
Automod Presets
Type | Id |
---|---|
Profanity | 1 |
SexualContent | 2 |
Slurs | 3 |
Example(s)
This will create a new automod rule with the BlockMessage action.