stupid mistakes aaaaaa

This commit is contained in:
Cynthia Foxwell 2022-08-02 22:08:47 -06:00
parent 55b5eb66a7
commit 67e0ba8383

View file

@ -329,10 +329,8 @@ async function enqueue({
await connection.play(media, { await connection.play(media, {
inlineVolume: true, inlineVolume: true,
voiceDataTimeout: -1, voiceDataTimeout: -1,
samplingRate: speex ? 8000 ? 48000 samplingRate: speex ? 8000 : 48000,
encoderArgs: speex encoderArgs: speex ? ["-acodec", "speex", "-b:a", "8000"] : null,
? ["-acodec", "speex", "-b:a", "8000"]
: null,
}); });
textChannel.createMessage({ textChannel.createMessage({