Skip to content

$guildPreferredLocale

$guildPreferredLocale will return a guild’s set locale.

Usage

$guildPreferredLocale[guildID?]

Parameters

FieldTypeDescriptionRequired
guildID?numberThe ID of the guild.false

Example(s)

This will return the guild’s preferred locale:

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