$getAutomodRules
$getAutomodRules
will fetch and return the automod rules of the specified guild.
Usage
$getAutomodRules[guildID;option?;sep?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID | number | The ID of the guild where the automod rules exists in. | true |
option? | string | The type of the function response. | false |
sep? | string | The separator between each automod rule. | false |
Example(s)
1client.command({2 name: "getAutomodRules",3 code: `4 $getAutomodRules[$guildID;{name};, ]5 `6});