mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 01:53:30 +01:00
Make voice return streamdispatcher
This commit is contained in:
@@ -62,7 +62,7 @@ class AudioPlayer extends EventEmitter {
|
||||
if (this.listenerCount('error') > 0) this.emit('error', e);
|
||||
else this.emit('warn', e);
|
||||
});
|
||||
this.playPCMStream(transcoder.output, options);
|
||||
return this.playPCMStream(transcoder.output, options);
|
||||
}
|
||||
|
||||
playPCMStream(stream, { seek = 0, volume = 1, passes = 1 } = {}) {
|
||||
|
||||
Reference in New Issue
Block a user