$getAutomodRuleId
$getAutomodRuleId
will fetch and return the Id of a given automod rule.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID | number | The ID of the guild where the automod rule exists in. | true |
name | string, number | The name or ID of the automod rule. | true |
force? | boolean | Force fetch the guild’s automod rules. | false |
Example(s)
This will return the Id of the given automod rule while force fetching all guild automod rules: