summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/gateway/opcodes/LazyRequest.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gateway/opcodes/LazyRequest.ts b/src/gateway/opcodes/LazyRequest.ts

index 4b916ac6..ab58368d 100644 --- a/src/gateway/opcodes/LazyRequest.ts +++ b/src/gateway/opcodes/LazyRequest.ts
@@ -212,7 +212,7 @@ export async function onLazyRequest(this: WebSocket, { d }: Payload) { if (!channels) return; } - if (!channels) throw new Error("Must provide channel ranges"); + if (!channels) return; const channel_id = Object.keys(channels || {})[0]; if (!channel_id) return;