This commit is contained in:
Amish Shah 2017-04-12 21:22:14 +01:00
commit 8ddaa1b92c

View file

@ -44,7 +44,7 @@ class AudioPlayer extends EventEmitter {
timestamp: 0,
pausedTime: 0,
};
this.voiceConnection.once('closing', () => this.destroyAllStreams());
this.voiceConnection.once('closing', () => this.destroyCurrentStream());
}
/**