From 85dfb6778ec401e3f9140023db1be31b163df368 Mon Sep 17 00:00:00 2001 From: ayntee Date: Thu, 11 Feb 2021 10:31:33 +0400 Subject: [PATCH] fix(ws/shard): pass shardID to sendWS() (#516) --- src/ws/shard.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ws/shard.ts b/src/ws/shard.ts index eb9a1756a..3e3303e5f 100644 --- a/src/ws/shard.ts +++ b/src/ws/shard.ts @@ -318,7 +318,7 @@ export function requestGuildMembers( user_ids: options?.userIDs, nonce, }, - }); + }, shard?.id); } async function processGatewayQueue() { @@ -398,7 +398,7 @@ export function botGatewayStatusRequest(payload: BotStatusRequest) { status: payload.status, afk: false, }, - }); + }, shard.id); }); }