mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix playConvertedStream (#923)
This commit is contained in:
committed by
Schuyler Cebulskie
parent
ac64f8bd23
commit
eedc097f3f
@@ -259,7 +259,7 @@ class VoiceConnection extends EventEmitter {
|
||||
*/
|
||||
playConvertedStream(stream, { seek = 0, volume = 1, passes = 1 } = {}) {
|
||||
const options = { seek, volume, passes };
|
||||
return this.player.playPCMStream(stream, options);
|
||||
return this.player.playPCMStream(stream, null, options);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user