mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-15 19:08:17 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user