Skip to content

Commit c50809e

Browse files
authored
docs: Fix "its" typo (#9825)
docs: fix "its" typo
1 parent 8d97e2d commit c50809e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/discord.js/src/util/Options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const { version } = require('../../package.json');
2020
* the client will spawn {@link ClientOptions#shardCount} shards. If set to `auto`, it will fetch the
2121
* recommended amount of shards from Discord and spawn that amount
2222
* @property {number} [closeTimeout=5_000] The amount of time in milliseconds to wait for the close frame to be received
23-
* from the WebSocket. Don't have this too high/low. Its best to have it between 2_000-6_000 ms.
23+
* from the WebSocket. Don't have this too high/low. It's best to have it between 2_000-6_000 ms.
2424
* @property {number} [shardCount=1] The total amount of shards used by all processes of this bot
2525
* (e.g. recommended shard count, shard count of the ShardingManager)
2626
* @property {CacheFactory} [makeCache] Function to create a cache.

packages/rest/src/lib/REST.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ export class REST extends AsyncEventEmitter<RestEventsMap> {
317317
headers.Authorization = `${request.authPrefix ?? this.options.authPrefix} ${this.#token}`;
318318
}
319319

320-
// If a reason was set, set it's appropriate header
320+
// If a reason was set, set its appropriate header
321321
if (request.reason?.length) {
322322
headers['X-Audit-Log-Reason'] = encodeURIComponent(request.reason);
323323
}

0 commit comments

Comments
 (0)