mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 19:13:31 +01:00
docs: fix typos (#9127)
* docs: fix typos * indicies -> indices * rename file --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -29,7 +29,7 @@ export interface BootstrapOptions {
|
||||
}
|
||||
|
||||
/**
|
||||
* Utility class for bootstraping a worker thread to be used for sharding
|
||||
* Utility class for bootstrapping a worker thread to be used for sharding
|
||||
*/
|
||||
export class WorkerBootstrapper {
|
||||
/**
|
||||
|
||||
@@ -542,7 +542,7 @@ export class WebSocketShard extends AsyncEventEmitter<WebSocketShardEventsMap> {
|
||||
}
|
||||
|
||||
case GatewayCloseCodes.UnknownError: {
|
||||
this.debug([`An unknown error occured: ${code}`]);
|
||||
this.debug([`An unknown error occurred: ${code}`]);
|
||||
return this.destroy({ code, recover: WebSocketShardDestroyRecovery.Resume });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user