$createAutomodRule
$createAutomodRule
will create a new Discord Automod Rule for the given guild.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID | number | The ID of the guild where the automod rule should be created in. | true |
name | string | The name of the new Automod Rule. | true |
enabled? | boolean | Enable the automod rule? | false |
reason? | string | The reason displayed in the guild’s audit logs. | false |
Example(s)
This will create a automod rule which blocks slur words: