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

player.setPause() does nothing #16

Closed
PassTheMayo opened this issue Mar 1, 2018 · 2 comments
Closed

player.setPause() does nothing #16

PassTheMayo opened this issue Mar 1, 2018 · 2 comments

Comments

@PassTheMayo
Copy link

PassTheMayo commented Mar 1, 2018

Hello. I just recently started using Lavalink, and I love it! I believe it's a great audio library, and it greatly decreased CPU usage. The only problem I have is when I try to use player.setPause(), it does nothing. No logs or errors, nothing. Here's my code: https://h.mayo.pw/ugogibamuv.js. I don't know what causes this, but it never works. Any help?

Note: This isn't my production code, I'm just messing around with Lavalink at the moment.

@briantanner
Copy link
Owner

You're not passing true or false...
player.setPause(true);
player.setPause(false);

@PassTheMayo
Copy link
Author

@briantanner Oooooooh, I'm blind. Lmao

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

No branches or pull requests

2 participants