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