-
Notifications
You must be signed in to change notification settings - Fork 15
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
bug: position value reverted back to lastPosition when paused #88
Comments
The code provided, is that what you use? Lavaclient's player class does not have an |
Whoops forgot to change it, it's from the code I use, |
could u listen to the debug event and show us what is shown? |
Lavaclient returns Lines 69 to 71 in c4c8290
I could just store when the player is paused but that's quite sloppy imo 🤷🏼 |
Yep I just noticed that after learning more about Lavalink. I have a use case that requires quite accurate position time, so I just decrease the |
All good :) |
Describe the bug
When
player.pause()
is called,position
value reverted back tolastPosition
for few millisecondsTo Reproduce
Steps to reproduce the behavior:
Output:
I have to add some delay before logging
after
to get the accurateposition
valueOutput:
Expected behavior
position
value shouldn't revert back tolastPosition
value when player paused.Environment
v16.16.0
3.7
(docker)4.1.1
The text was updated successfully, but these errors were encountered: