mirror of
https://github.com/danbulant/discord.js
synced 2026-06-24 17:21:59 +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
|
||||
*/
|
||||
unpause() {
|
||||
resume() {
|
||||
this.pausedTime += Date.now() - this.pausedSince;
|
||||
this.pausedSince = null;
|
||||
if (this._writeCallback) this._writeCallback();
|
||||
|
|
|
|||
Loading…
Reference in a new issue