diff --git a/src/modules/music.js b/src/modules/music.js index 889298c..008d5ef 100644 --- a/src/modules/music.js +++ b/src/modules/music.js @@ -329,7 +329,9 @@ async function enqueue({ await connection.play(media, { inlineVolume: true, voiceDataTimeout: -1, - encoderArgs: speex ? ["-acodec speex", "-b:a 8000", "-ar 8000"] : null, + encoderArgs: speex + ? ["-acodec", "speex", "-b:a", "8000", "-ar", "8000"] + : null, }); textChannel.createMessage({