$getAutomodRule
$getAutomodRule
will fetch and return the selected automod rule of the specified guild.
Usage
$getAutomodRule[guildID;name?;option?]
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. | false |
option? | string | The type of the function response. | false |
Example(s)
1client.command({2 name: "getAutomodRule",3 code: `4 $getAutomodRule[$guildID;name]5 `6});