Skip to content

$getAutomodRules

$getAutomodRules will fetch and return the automod rules of the specified guild.

Usage

$getAutomodRules[guildID;option?;sep?]

Parameters

FieldTypeDescriptionRequired
guildIDnumberThe ID of the guild where the automod rules exists in.true
option?stringThe type of the function response.false
sep?stringThe separator between each automod rule.false

Example(s)

1
client.command({
2
name: "getAutomodRules",
3
code: `
4
$getAutomodRules[$guildID;{name};, ]
5
`
6
});