From b6402723c31bed3c49f8b8cde873b65b9f373fd7 Mon Sep 17 00:00:00 2001 From: Rodry <38259440+ImRodry@users.noreply.github.com> Date: Tue, 25 Jan 2022 20:23:45 +0000 Subject: [PATCH] docs(locales): update Discord API docs link (#7266) --- packages/discord.js/src/structures/Guild.js | 2 +- packages/discord.js/src/structures/Interaction.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/discord.js/src/structures/Guild.js b/packages/discord.js/src/structures/Guild.js index 0a8ad7ce1..a0f655871 100644 --- a/packages/discord.js/src/structures/Guild.js +++ b/packages/discord.js/src/structures/Guild.js @@ -370,7 +370,7 @@ class Guild extends AnonymousGuild { /** * The preferred locale of the guild, defaults to `en-US` * @type {string} - * @see {@link https://discord.com/developers/docs/dispatch/field-values#predefined-field-values-accepted-locales} + * @see {@link https://discord.com/developers/docs/reference#locales} */ this.preferredLocale = data.preferred_locale; } diff --git a/packages/discord.js/src/structures/Interaction.js b/packages/discord.js/src/structures/Interaction.js index 01d877ca9..f30ea5a9f 100644 --- a/packages/discord.js/src/structures/Interaction.js +++ b/packages/discord.js/src/structures/Interaction.js @@ -78,7 +78,7 @@ class Interaction extends Base { /** * The locale of the user who invoked this interaction * @type {string} - * @see {@link https://discord.com/developers/docs/dispatch/field-values#predefined-field-values-accepted-locales} + * @see {@link https://discord.com/developers/docs/reference#locales} */ this.locale = data.locale;