Skip to content

$guildNames

$guildNames will return the guide names your bot is in.

Usage

$guildNames[sep?]

Parameters

FieldTypeDescriptionRequired
sep?stringSeparator to separate multiple returned values.false

Example(s)

This will return the names of the guilds your bot is in and separate it by a comma:

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