mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Fix docs
This commit is contained in:
@@ -84,11 +84,13 @@ class StreamDispatcher extends Writable {
|
||||
|
||||
/**
|
||||
* Whether or not playback is paused
|
||||
* @type {boolean}
|
||||
*/
|
||||
get paused() { return Boolean(this.pausedSince); }
|
||||
|
||||
/**
|
||||
* Total time that this dispatcher has been paused
|
||||
* @type {number}
|
||||
*/
|
||||
get pausedTime() { return this._pausedTime + (this.paused ? Date.now() - this.pausedSince : 0); }
|
||||
|
||||
@@ -200,6 +202,7 @@ class StreamDispatcher extends Writable {
|
||||
|
||||
/**
|
||||
* Whether or not the Opus bitrate of this stream is editable
|
||||
* @type {boolean}
|
||||
*/
|
||||
get bitrateEditable() { return this.streams.opus && this.streams.opus.setBitrate; }
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ class VolumeInterface extends EventEmitter {
|
||||
|
||||
/**
|
||||
* Whether or not the volume of this stream is editable
|
||||
* @type {boolean}
|
||||
*/
|
||||
get volumeEditable() {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user