docs: fix and improve localization docs (v13 backport) (#7807)

This commit is contained in:
Hyro
2022-04-21 19:06:28 +02:00
committed by GitHub
parent 816936eafb
commit 6dcf0bda05
4 changed files with 58 additions and 23 deletions

View File

@@ -411,7 +411,7 @@ class Guild extends AnonymousGuild {
if ('preferred_locale' in data) {
/**
* The preferred locale of the guild, defaults to `en-US`
* @type {string}
* @type {Locale}
* @see {@link https://discord.com/developers/docs/reference#locales}
*/
this.preferredLocale = data.preferred_locale;