Make voice return streamdispatcher

This commit is contained in:
Amish Shah
2016-12-28 21:40:11 +00:00
parent 4294d267e7
commit 00254f35b0
2 changed files with 1 additions and 3 deletions

View File

@@ -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 } = {}) {