about summary refs log tree commit diff
path: root/pkg/discord
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/discord')
-rw-r--r--pkg/discord/gateway.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkg/discord/gateway.go b/pkg/discord/gateway.go
index 13726b7..68bb3f2 100644
--- a/pkg/discord/gateway.go
+++ b/pkg/discord/gateway.go
@@ -129,8 +129,9 @@ func (g *GatewayImpl) Listen() {
 }
 
 func (g *GatewayImpl) Heartbeat() error {
-	msg := GatewayPayload[any]{
-		Op: GATEWAY_OP_HEARTBEAT,
+	msg := GatewayPayload[uint64]{
+		Op:   GATEWAY_OP_HEARTBEAT,
+		Data: g.lastSeq,
 	}
 
 	return g.send(msg)