Skip to content

$guildAvailable

$guildAvailable will return if the given guild is available on Discord.

Usage

$guildAvailable[guildID?]

Parameters

FieldTypeDescriptionRequired
guildID?numberThe ID of the guild.false

Example(s)

This will return true or false depending on if the guild is available:

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