From c50809e20648cacea99f5450e8073d960ff8aa39 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Sat, 9 Sep 2023 19:20:15 +0100 Subject: [PATCH] docs: Fix "its" typo (#9825) docs: fix "its" typo --- packages/discord.js/src/util/Options.js | 2 +- packages/rest/src/lib/REST.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/discord.js/src/util/Options.js b/packages/discord.js/src/util/Options.js index 9d1ce50ec2b0..9e674b76d781 100644 --- a/packages/discord.js/src/util/Options.js +++ b/packages/discord.js/src/util/Options.js @@ -20,7 +20,7 @@ const { version } = require('../../package.json'); * the client will spawn {@link ClientOptions#shardCount} shards. If set to `auto`, it will fetch the * recommended amount of shards from Discord and spawn that amount * @property {number} [closeTimeout=5_000] The amount of time in milliseconds to wait for the close frame to be received - * from the WebSocket. Don't have this too high/low. Its best to have it between 2_000-6_000 ms. + * from the WebSocket. Don't have this too high/low. It's best to have it between 2_000-6_000 ms. * @property {number} [shardCount=1] The total amount of shards used by all processes of this bot * (e.g. recommended shard count, shard count of the ShardingManager) * @property {CacheFactory} [makeCache] Function to create a cache. diff --git a/packages/rest/src/lib/REST.ts b/packages/rest/src/lib/REST.ts index c70efccef34f..3502b4a16ac9 100644 --- a/packages/rest/src/lib/REST.ts +++ b/packages/rest/src/lib/REST.ts @@ -317,7 +317,7 @@ export class REST extends AsyncEventEmitter { headers.Authorization = `${request.authPrefix ?? this.options.authPrefix} ${this.#token}`; } - // If a reason was set, set it's appropriate header + // If a reason was set, set its appropriate header if (request.reason?.length) { headers['X-Audit-Log-Reason'] = encodeURIComponent(request.reason); }