forcefully stopping player
hey i just wanted to know if theres a way to forcefully stop playing a resource for example
3 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!and is there a way to pause / resume
AudioPlayer#stop()
Stops playback of the current resource and destroys the resource. The player will either transition to the Idle state, or remain in its current state until the silence padding frames of the resource have been AudioPlayer#pause()
Pauses playback of the current resource, if AudioPlayer#unpause()
Unpauses playback of the current resource, if any.