Skip to content

Commit 5be774d

Browse files
almeidxkodiakhq[bot]
authored andcommitted
docs: remove hardcoded locale from links (#10794)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent b36b751 commit 5be774d

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Learn how to add code owners here:
2-
# https://help.github.com/en/articles/about-code-owners
2+
# https://help.github.com/articles/about-code-owners
33

44
* @iCrawl
55

packages/builders/src/components/selectMenu/StringSelectMenu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export class StringSelectMenuBuilder extends BaseSelectMenuBuilder<APIStringSele
8383
*
8484
* @remarks
8585
* This method behaves similarly
86-
* to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice | Array.prototype.splice()}.
86+
* to {@link https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array/slice | Array.prototype.splice()}.
8787
* It's useful for modifying and adjusting the order of existing options.
8888
* @example
8989
* Remove the first option:

packages/builders/src/messages/embed/Embed.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export class EmbedBuilder {
125125
*
126126
* @remarks
127127
* This method behaves similarly
128-
* to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice | Array.prototype.splice()}.
128+
* to {@link https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array/splice | Array.prototype.splice()}.
129129
* The maximum amount of fields that can be added is 25.
130130
*
131131
* It's useful for modifying and adjusting order of the already-existing fields of an embed.

packages/discord.js/src/client/Client.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ class Client extends BaseClient {
522522
}
523523

524524
/**
525-
* Calls {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval} on a script
525+
* Calls {@link https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/eval} on a script
526526
* with the client as `this`.
527527
* @param {string} script Script to eval
528528
* @returns {*}
@@ -604,7 +604,7 @@ module.exports = Client;
604604
*/
605605

606606
/**
607-
* A {@link https://developer.twitter.com/en/docs/twitter-ids Twitter snowflake},
607+
* A {@link https://docs.x.com/resources/fundamentals/x-ids Twitter snowflake},
608608
* except the epoch is 2015-01-01T00:00:00.000Z.
609609
*
610610
* If we have a snowflake '266241948824764416' we can represent it as binary:

packages/discord.js/src/structures/interfaces/Collector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ class Collector extends EventEmitter {
267267

268268
/**
269269
* Allows collectors to be consumed with for-await-of loops
270-
* @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of}
270+
* @see {@link https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/for-await...of}
271271
*/
272272
async *[Symbol.asyncIterator]() {
273273
const queue = [];

packages/rest/src/lib/REST.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,9 @@ export class REST extends AsyncEventEmitter<RestEvents> {
336336
for (const [index, file] of request.files.entries()) {
337337
const fileKey = file.key ?? `files[${index}]`;
338338

339-
// https://developer.mozilla.org/en-US/docs/Web/API/FormData/append#parameters
339+
// https://developer.mozilla.org/docs/Web/API/FormData/append#parameters
340340
// FormData.append only accepts a string or Blob.
341-
// https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob#parameters
341+
// https://developer.mozilla.org/docs/Web/API/Blob/Blob#parameters
342342
// The Blob constructor accepts TypedArray/ArrayBuffer, strings, and Blobs.
343343
if (isBufferLike(file.data)) {
344344
// Try to infer the content type from the buffer if one isn't passed

0 commit comments

Comments
 (0)