mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 20:20:55 +00:00
Fix docs
This commit is contained in:
parent
eeed5f23e3
commit
45ef80b92f
2 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue