Skip to content

$getGuildAutomodNames

$getGuildAutomodNames will return the guild’s automod rules.

Usage

$getGuildAutomodNames[guildID?]

Parameters

FieldTypeDescriptionRequired
guildID?numberThe ID of the guild.false

Example(s)

This will return the automod rules of the current guild (if any):

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