Skip to content

Conversation

apricotbucket28
Copy link
Contributor

If the client hasn't received a sequence yet, it should send a null value in the heartbeat message. https://discord.com/developers/docs/events/gateway-events#heartbeat

Copy link
Member

@topi314 topi314 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not just make it a pointer?

@topi314 topi314 merged commit a30bbb7 into disgoorg:master Feb 18, 2025
4 checks passed
@apricotbucket28 apricotbucket28 deleted the nil-sequence-heartbeat branch February 18, 2025 16:26
apricotbucket28 added a commit to apricotbucket28/disgo that referenced this pull request Apr 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants