mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-20 05:23:31 +01:00
Rename unpause to resume
This commit is contained in:
@@ -81,7 +81,7 @@ class StreamDispatcher extends Writable {
|
|||||||
/**
|
/**
|
||||||
* Resumes playback
|
* Resumes playback
|
||||||
*/
|
*/
|
||||||
unpause() {
|
resume() {
|
||||||
this.pausedTime += Date.now() - this.pausedSince;
|
this.pausedTime += Date.now() - this.pausedSince;
|
||||||
this.pausedSince = null;
|
this.pausedSince = null;
|
||||||
if (this._writeCallback) this._writeCallback();
|
if (this._writeCallback) this._writeCallback();
|
||||||
|
|||||||
Reference in New Issue
Block a user