Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VoiceNextConnection.UserJoined event does not fire #1699

Open
Alexejhero opened this issue Dec 5, 2023 · 3 comments
Open

VoiceNextConnection.UserJoined event does not fire #1699

Alexejhero opened this issue Dec 5, 2023 · 3 comments

Comments

@Alexejhero
Copy link

Describe the bug
VoiceNextConnection.UserJoined event callback does not fire, I subscribe to it but it never get executed

To Reproduce

  1. Join a voicechannel and get a VoiceNextConnection
  2. Subscribe to the UserJoined event
  3. Have someone else join the channel

Expected behavior
The event should fire, but it doesnt

Additional context
This was also reported a few months ago in the discord

@Alexejhero Alexejhero added the bug label Dec 5, 2023
@akiraveliara akiraveliara added this to the Backlog milestone Dec 5, 2023
@Plerx2493
Copy link
Member

Plerx2493 commented Dec 5, 2023

Short investigastion shows that discord doesnt send OP12 (CLIENT_CONNECTED) anymore and sends OP18 and OP20 instead both of which arent documented

@Plerx2493
Copy link
Member

[2023-12-05 19:37:01 +01:00] [308 /Voice ↓     ] [Trace] {"op":18,"d":{"user_id":"350967844957192192","flags":2}}
[2023-12-05 19:37:01 +01:00] [305 /VoiceDispatc] [Trace] Received unknown voice opcode (OP18)
[2023-12-05 19:37:01 +01:00] [308 /Voice ↓     ] [Trace] {"op":20,"d":{"user_id":"350967844957192192","platform":0}}
[2023-12-05 19:37:01 +01:00] [305 /VoiceDispatc] [Trace] Received unknown voice opcode (OP20)

@Plerx2493
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants