mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 11:33:30 +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
|
* Pauses playback
|
||||||
*/
|
*/
|
||||||
pause() {
|
pause() {
|
||||||
this.pausedSince = Date.now();
|
if (!this.paused) this.pausedSince = Date.now();
|
||||||
|
this._setSpeaking(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user