mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03:31 +01:00
Rename unpause to resume
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user