docs: remove hardcoded locale from links (#10794)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Almeida
2025-03-07 21:23:42 +00:00
committed by Jiralite
parent b36b751bde
commit 5be774db64
6 changed files with 8 additions and 8 deletions

2
.github/CODEOWNERS vendored
View File

@@ -1,5 +1,5 @@
# Learn how to add code owners here: # Learn how to add code owners here:
# https://help.github.com/en/articles/about-code-owners # https://help.github.com/articles/about-code-owners
* @iCrawl * @iCrawl

View File

@@ -83,7 +83,7 @@ export class StringSelectMenuBuilder extends BaseSelectMenuBuilder<APIStringSele
* *
* @remarks * @remarks
* This method behaves similarly * This method behaves similarly
* to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice | Array.prototype.splice()}. * to {@link https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array/slice | Array.prototype.splice()}.
* It's useful for modifying and adjusting the order of existing options. * It's useful for modifying and adjusting the order of existing options.
* @example * @example
* Remove the first option: * Remove the first option:

View File

@@ -125,7 +125,7 @@ export class EmbedBuilder {
* *
* @remarks * @remarks
* This method behaves similarly * This method behaves similarly
* to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice | Array.prototype.splice()}. * to {@link https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array/splice | Array.prototype.splice()}.
* The maximum amount of fields that can be added is 25. * The maximum amount of fields that can be added is 25.
* *
* It's useful for modifying and adjusting order of the already-existing fields of an embed. * It's useful for modifying and adjusting order of the already-existing fields of an embed.

View File

@@ -522,7 +522,7 @@ class Client extends BaseClient {
} }
/** /**
* Calls {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval} on a script * Calls {@link https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/eval} on a script
* with the client as `this`. * with the client as `this`.
* @param {string} script Script to eval * @param {string} script Script to eval
* @returns {*} * @returns {*}
@@ -604,7 +604,7 @@ module.exports = Client;
*/ */
/** /**
* A {@link https://developer.twitter.com/en/docs/twitter-ids Twitter snowflake}, * A {@link https://docs.x.com/resources/fundamentals/x-ids Twitter snowflake},
* except the epoch is 2015-01-01T00:00:00.000Z. * except the epoch is 2015-01-01T00:00:00.000Z.
* *
* If we have a snowflake '266241948824764416' we can represent it as binary: * If we have a snowflake '266241948824764416' we can represent it as binary:

View File

@@ -267,7 +267,7 @@ class Collector extends EventEmitter {
/** /**
* Allows collectors to be consumed with for-await-of loops * Allows collectors to be consumed with for-await-of loops
* @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of} * @see {@link https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/for-await...of}
*/ */
async *[Symbol.asyncIterator]() { async *[Symbol.asyncIterator]() {
const queue = []; const queue = [];

View File

@@ -336,9 +336,9 @@ export class REST extends AsyncEventEmitter<RestEvents> {
for (const [index, file] of request.files.entries()) { for (const [index, file] of request.files.entries()) {
const fileKey = file.key ?? `files[${index}]`; const fileKey = file.key ?? `files[${index}]`;
// https://developer.mozilla.org/en-US/docs/Web/API/FormData/append#parameters // https://developer.mozilla.org/docs/Web/API/FormData/append#parameters
// FormData.append only accepts a string or Blob. // FormData.append only accepts a string or Blob.
// https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob#parameters // https://developer.mozilla.org/docs/Web/API/Blob/Blob#parameters
// The Blob constructor accepts TypedArray/ArrayBuffer, strings, and Blobs. // The Blob constructor accepts TypedArray/ArrayBuffer, strings, and Blobs.
if (isBufferLike(file.data)) { if (isBufferLike(file.data)) {
// Try to infer the content type from the buffer if one isn't passed // Try to infer the content type from the buffer if one isn't passed