aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-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)