-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
The function dispatcher.pause()
and dispatcher.resume()
only works on a second switch
#5300
Comments
I had a similar issue. The issue was fixed after uninstalling node 15.8 and installing 14.15.4 |
Same issue fixed by installing latest lts node 14.x |
Developers should fix it for node v15.x |
Having this exact issue on node v15.11.0 but the pause/resume x2 doesn't work as a 'hacky fix' |
The "hacky fix" does not work when pausing the song with silent option. - dispatcher.pause(true)
+ dispatcher.pause() |
I also found this happening for LTS v14.17.0 Fixed by using v14.16 |
Could reproduce with Node.js version 14.17.0 or above |
Can confirm is occuring on v14.17.0 Downgrading to v14.16.1 resolved this for me |
Hi there, We're working on a new implementation of Discord's Voice API that has better playback quality and is more reliable than what we currently support in Discord.js v12 - check it out at https://github.com/discordjs/voice! The new library solves many of the issues that users are facing, and as part of this, we're dropping built-in support for voice in our next major release. We have a PR (#5402) that adds native support for our new voice library - once this PR is merged, this issue will be closed. You can still use our new voice library before that PR lands - just take a look at our music bot example to see how to get started upgrading your voice code. By using the boilerplate music player in the example, you can make it even easier to upgrade your code. Note that the PR above only reduces some of the boilerplate code you'd otherwise have to write - you do not have to wait for the PR to be merged to start using the new voice library. If you have any questions about this, feel free to:
|
When i stop a song with
.pause()
it stops (as it should), but when i use.resume()
the song does not resume playing and does not do so by repeating the function one more time.for the song to resume it must be "paused" again and then "resumed".
the process is repeated in the same way once the song is resumed (don't gives me errors).
MORE DETAILS (AND TIMINGS): https://youtu.be/OsdpQEdE1QE
Further details:
Relevant client options:
The text was updated successfully, but these errors were encountered: