I am working on a new music discord bot however I am running into a problem.
Any time the initial volume level is set lower than 70% the music will start loud but then will drop down to where the volume level is set in a few seconds.
It does not happen every time a new song is loaded but always the first song and any song it has to load fast like if someone skips a song.
I am using discord-player with ffmpeg.
//Set default values for the music bot
maxVol: 100,
loopMessage: false,
discordPlayer: {
leaveOnEnd: true,
leaveOnStop: true,
leaveOnEmpty: true,
leaveOnEmptyCooldown: 180000,
autoSelfDeaf: true,
ytdlOptions: {
quality: "highestaudio",
highWaterMark: 1 << 25,
},
initialVolume: 20,
bufferingTimeout: 8000,
spotifyBridge: true,
disableVolume: false,
},
The bot is pubic if anyone wants to see the bug I am having. Bot InvitationalLink