refactor!: fix some spelling mistakes (#2144)

* refactor!: fix some spelling mistakes
This fixes some spelling mistakes around the code base. Note not all are fixed.

* subComponent
This commit is contained in:
ITOH
2022-03-31 14:16:34 +02:00
committed by GitHub
parent bcaa43ab7d
commit 9980856eef
50 changed files with 493 additions and 370 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ export async function handleOnMessage(gateway: GatewayManager, message: any, sha
// We need to wait for a random amount of time between 1 and 5: https://discord.com/developers/docs/topics/gateway#resuming
await delay(Math.floor((Math.random() * 4 + 1) * 1000));
// When d is false we need to reidentify
// When d is false we need to re-identify
if (!messageData.d) {
await gateway.identify(gateway, shardId, gateway.maxShards);
break;