Discord Music bot - the song i play stopped 10-20 seconds before the end so i added highWaterMark and now the song barely plays at all
问题 So basically i had this issue and i got given a "solution" but it didn't work, so i found a fix and that was adding highWaterMark to my code so the stream stays open longer or whatever idk, so this is what my code looks like currently const dispatcher = serverQueue.connection.play(ytdl(song.url, { filter:"audioonly", highWaterMark: 1<<25 }) .on("finish", () => { const shiffed = serverQueue.songs.shift(); if (serverQueue.loop === true) { serverQueue.songs.push(shiffed); }; play(guild,