fix(ws/shard): pass shardID to sendWS() (#516)

This commit is contained in:
ayntee
2021-02-11 10:31:33 +04:00
committed by GitHub
parent 99ed2c2edb
commit 85dfb6778e
+2 -2
View File
@@ -318,7 +318,7 @@ export function requestGuildMembers(
user_ids: options?.userIDs, user_ids: options?.userIDs,
nonce, nonce,
}, },
}); }, shard?.id);
} }
async function processGatewayQueue() { async function processGatewayQueue() {
@@ -398,7 +398,7 @@ export function botGatewayStatusRequest(payload: BotStatusRequest) {
status: payload.status, status: payload.status,
afk: false, afk: false,
}, },
}); }, shard.id);
}); });
} }