mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
voice: mark speaking as false when paused, prevent repeated pausing
This commit is contained in:
parent
6cde6decee
commit
841b9de918
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue