mirror of
https://github.com/danbulant/discord.js
synced 2026-05-26 13:32:04 +00:00
Temporary fix
This commit is contained in:
parent
30f02e77c4
commit
639fc99b86
2 changed files with 6 additions and 7 deletions
|
|
@ -58,9 +58,9 @@ var VoiceConnection = (function (_EventEmitter) {
|
|||
this.playing = false;
|
||||
this.playingIntent = null;
|
||||
if (this.instream) {
|
||||
console.log(this.instream);
|
||||
this.instream.unpipe(this.streamProc);
|
||||
}if (this.streamProc) this.streamProc.destroy();
|
||||
this.instream.end();
|
||||
this.instream.destroy();
|
||||
}
|
||||
};
|
||||
|
||||
VoiceConnection.prototype.playRawStream = function playRawStream(stream) {
|
||||
|
|
|
|||
|
|
@ -51,10 +51,9 @@ class VoiceConnection extends EventEmitter {
|
|||
this.playing = false;
|
||||
this.playingIntent = null;
|
||||
if(this.instream){
|
||||
console.log(this.instream);
|
||||
this.instream.unpipe(this.streamProc);
|
||||
}if (this.streamProc)
|
||||
this.streamProc.destroy();
|
||||
this.instream.end();
|
||||
this.instream.destroy();
|
||||
}
|
||||
}
|
||||
|
||||
playRawStream(stream) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue