Skip to content

$guildID

$guildID will return the guild ID of a given guild.

Usage

$guildID[name?]

Parameters

FieldTypeDescriptionRequired
name?stringThe guild name you want the ID to be returned of.false

Example(s)

This will return your guild ID:

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