mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
voice: mark speaking as false when paused, prevent repeated pausing
This commit is contained in:
@@ -118,7 +118,8 @@ class StreamDispatcher extends Writable {
|
||||
* Pauses playback
|
||||
*/
|
||||
pause() {
|
||||
this.pausedSince = Date.now();
|
||||
if (!this.paused) this.pausedSince = Date.now();
|
||||
this._setSpeaking(false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user