mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Temporary fix
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user