Open macluxHD opened 1 year ago
Troubleshooting / optimization Guide from discordjs could solve this. Especially the highWaterMark could solve this need to do some testing.
https://v12.discordjs.guide/voice/optimisation-and-troubleshooting.html
HighWaterMark cannot be used due to the npm package currently in use, would need to either edit it, implement my own way to play music or find another package, as this is a minor issue for now it will be seen as low priority.
When commands are executed the bot stutter, I have yet to test out if the bot can play on two servers at the same time too. I am guessing it won't work flawlessly and am guessing everything runs on the same thread. To prevent this issue then I would need something like multi threading having the playing music for each server on a different thread than the command handler.