From a476319fb419cf2b8e9604f53b075985f2691ea6 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Tue, 4 Apr 2023 00:15:37 +1000 Subject: Send d: {} in heartbeat ack --- src/gateway/opcodes/Heartbeat.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gateway') diff --git a/src/gateway/opcodes/Heartbeat.ts b/src/gateway/opcodes/Heartbeat.ts index 7866c3e9..b9b62be3 100644 --- a/src/gateway/opcodes/Heartbeat.ts +++ b/src/gateway/opcodes/Heartbeat.ts @@ -25,5 +25,5 @@ export async function onHeartbeat(this: WebSocket) { setHeartbeat(this); - await Send(this, { op: 11 }); + await Send(this, { op: 11, d: {} }); } -- cgit 1.4.1