Skip to content

Commit

Permalink
docs(locales): update Discord API docs link (#7266)
Browse files Browse the repository at this point in the history
  • Loading branch information
ImRodry committed Jan 25, 2022
1 parent 706db92 commit b640272
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/Guild.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/Interaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit b640272

Please sign in to comment.