diff --git a/src/client/voice/dispatcher/StreamDispatcher.js b/src/client/voice/dispatcher/StreamDispatcher.js index d99c77c46..6eb108bbf 100644 --- a/src/client/voice/dispatcher/StreamDispatcher.js +++ b/src/client/voice/dispatcher/StreamDispatcher.js @@ -62,6 +62,7 @@ class StreamDispatcher extends Writable { this.on('finish', () => { // Still emitting end for backwards compatibility, probably remove it in the future! this.emit('end'); + this._setSpeaking(false); }); if (typeof volume !== 'undefined') this.setVolume(volume); @@ -251,9 +252,6 @@ class StreamDispatcher extends Writable { } _setSpeaking(value) { - if (this.speaking === value) return; - if (this.player.voiceConnection.status !== VoiceStatus.CONNECTED) return; - this.speaking = value; this.player.voiceConnection.setSpeaking(value); /** * Emitted when the dispatcher starts/stops speaking.