Skip to content

Conversation

SQKo
Copy link
Collaborator

@SQKo SQKo commented Oct 7, 2023

Reported by Discord User dseguy that noticed there is duplicated switch value.

At first i thought the first one is supposed to be Op::VOICE_HEARTBEAT and checked the history it was replaced f18fe92#diff-7a2f3798bc3eb078cbf2d218a055dafd03180366955c157e610bc585940e634a
I double checked the doc to see what Op::VOICE_HEARTBEAT does https://discord.com/developers/docs/topics/voice-connections#heartbeating, it is something that the voice client needs to send, not something that will be received, so the code is already correct, and so I'm just moving the event emitter so it gets triggered.

Tested.

@SQKo SQKo requested a review from a team October 7, 2023 05:39
@SQKo SQKo force-pushed the fix-voice-client-handle-ws-switch branch from 27a595b to f751490 Compare October 7, 2023 05:42
@SQKo SQKo merged commit d9e46cc into master Oct 7, 2023
@SQKo SQKo deleted the fix-voice-client-handle-ws-switch branch February 8, 2024 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant