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

An equivalent to discordgo's ChannelVoiceJoinManual #384

Closed
lukasl-dev opened this issue Mar 2, 2021 · 4 comments
Closed

An equivalent to discordgo's ChannelVoiceJoinManual #384

lukasl-dev opened this issue Mar 2, 2021 · 4 comments

Comments

@lukasl-dev
Copy link

Is your feature request related to a problem? Please describe.
I would like to use a third party voice solution called Lavalink, but this is not possible without this implementation.

Describe the solution you'd like
This discordgo issue already explains it quite well.
Long story short: I want a method that performs the OP4 voice handshake and intercepts the VOICE_SERVER_UPDATE event to enable third party voice solutions

Describe alternatives you've considered - optional
Discordgo has already implemented this method. See issue.

@DasPoet
Copy link

DasPoet commented Mar 2, 2021

Great idea, would love to see this as well.

@andersfylling
Copy link
Owner

Yo, I added a commit for this. Can you check if this works for you?

Client.Guild(..).VoiceChannel(..).JoinManual(..)

@andersfylling
Copy link
Owner

andersfylling commented Mar 7, 2021

There are no tests for this, so i would consider this experimental.

You can also inject a context using Client.Guild(..).VoiceChannel(..).WithContext(ctx).JoinManual(..)

@lukasl-dev
Copy link
Author

It works, thank you :)

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