stupid mistakes aaaaaa
This commit is contained in:
parent
55b5eb66a7
commit
67e0ba8383
1 changed files with 2 additions and 4 deletions
|
@ -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({
|
||||||
|
|
Loading…
Reference in a new issue