Fixed switching voice channels

This commit is contained in:
hydrabolt
2015-11-08 10:45:49 +00:00
parent 04c3dbedac
commit c5fe16af5b
5 changed files with 7 additions and 18 deletions

View File

@@ -192,7 +192,6 @@ var VoiceConnection = (function (_EventEmitter) {
var self = this;
return new Promise(function (resolve, reject) {
_this.encoder.encodeFile(stream)["catch"](error).then(function (data) {
self.streamProc = data.proc;
var intent = self.playRawStream(data.stream);
resolve(intent);