mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 21:13:30 +01:00
Temporary fix
This commit is contained in:
@@ -58,9 +58,9 @@ var VoiceConnection = (function (_EventEmitter) {
|
|||||||
this.playing = false;
|
this.playing = false;
|
||||||
this.playingIntent = null;
|
this.playingIntent = null;
|
||||||
if (this.instream) {
|
if (this.instream) {
|
||||||
console.log(this.instream);
|
this.instream.end();
|
||||||
this.instream.unpipe(this.streamProc);
|
this.instream.destroy();
|
||||||
}if (this.streamProc) this.streamProc.destroy();
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
VoiceConnection.prototype.playRawStream = function playRawStream(stream) {
|
VoiceConnection.prototype.playRawStream = function playRawStream(stream) {
|
||||||
|
|||||||
@@ -51,10 +51,9 @@ class VoiceConnection extends EventEmitter {
|
|||||||
this.playing = false;
|
this.playing = false;
|
||||||
this.playingIntent = null;
|
this.playingIntent = null;
|
||||||
if(this.instream){
|
if(this.instream){
|
||||||
console.log(this.instream);
|
this.instream.end();
|
||||||
this.instream.unpipe(this.streamProc);
|
this.instream.destroy();
|
||||||
}if (this.streamProc)
|
}
|
||||||
this.streamProc.destroy();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
playRawStream(stream) {
|
playRawStream(stream) {
|
||||||
|
|||||||
Reference in New Issue
Block a user