mirror of
https://github.com/danbulant/discord.js
synced 2026-07-09 13:10:42 +00:00
Rename unpause to resume
This commit is contained in:
parent
c8a75e4c29
commit
116b4c3788
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue