Playback stops for a moment and then resumes while sending request to websites

I have this is issue for a year but i always said i fix this later and now is the time to do it.The problem is when i playing music it plays with no issue but when i try to add a song to queue there is a moment that fetching video info from youtube while that playback lags and resumes like 1 second later. I think problem is node js's single-threaded nature but how can prevent this to happen?
1 Reply
d.js toolkit
d.js toolkit9mo ago
- 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!
Want results from more Discord servers?
Add your server