mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 05:52:05 +00:00
fix playConvertedStream (#923)
This commit is contained in:
parent
ac64f8bd23
commit
eedc097f3f
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ class VoiceConnection extends EventEmitter {
|
||||||
*/
|
*/
|
||||||
playConvertedStream(stream, { seek = 0, volume = 1, passes = 1 } = {}) {
|
playConvertedStream(stream, { seek = 0, volume = 1, passes = 1 } = {}) {
|
||||||
const options = { seek, volume, passes };
|
const options = { seek, volume, passes };
|
||||||
return this.player.playPCMStream(stream, options);
|
return this.player.playPCMStream(stream, null, options);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue