Skip to content

$guildIDS

$guildIDS will return the ID of every guild your bot is in.

Usage

$guildIDS[sep?]

Parameters

FieldTypeDescriptionRequired
sep?stringThe separator to separate multiple returned values.false

Example(s)

This will return all guild IDs your bot is in:

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