Optimizing Playing Audio
Hi there, I was wondering if anyone had any tips for optimizing the playing of audio so the bot doesn't stutter, buffer, and lag a lot. Currently, I just tell @discordjs/voice to play from a URL. Are there better solutions?
9 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Imagine doing that on scale
Yeah, that's not a viable option :(
What am I supposed to do if the audio I'm trying to play only comes as an mp3? Is there literally no solution?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I don't understand what the point of doing that would be if, from what I assume, @discordjs/voice already does that by default when playing from an mp3 file.
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I'm not making a music bot.