From d54d49dbeb936ed0fa60699aed668afe5619fd26 Mon Sep 17 00:00:00 2001 From: skdhg <46562212+skdhg@users.noreply.github.com> Date: Wed, 24 May 2023 20:36:52 +0545 Subject: [PATCH] chore(@discord-player/extractor): release 4.2.2 --- .../@discord-player/downloader/Downloader.mdx | 6 +- .../@discord-player/equalizer/AudioFilter.mdx | 56 ++++++++-------- .../equalizer/BiquadFilter.mdx | 26 ++++---- .../equalizer/BiquadStream.mdx | 52 +++++++-------- .../equalizer/ChannelProcessor.mdx | 18 ++--- .../equalizer/Coefficients.mdx | 12 ++-- .../@discord-player/equalizer/Equalizer.mdx | 22 +++---- .../equalizer/EqualizerCoefficients.mdx | 14 ++-- .../equalizer/EqualizerConfiguration.mdx | 8 +-- .../equalizer/EqualizerStream.mdx | 42 ++++++------ .../equalizer/FiltersChain.mdx | 24 +++---- .../@discord-player/equalizer/Frequency.mdx | 14 ++-- .../equalizer/MonoStereoTransformer.mdx | 38 +++++------ .../equalizer/PCMResampler.mdx | 34 +++++----- .../equalizer/PCMTransformer.mdx | 28 ++++---- .../equalizer/VolumeTransformer.mdx | 34 +++++----- .../extractor/AppleMusicExtractor.mdx | 12 ++-- .../extractor/AttachmentExtractor.mdx | 12 ++-- .../extractor/ReverbnationExtractor.mdx | 12 ++-- .../extractor/SoundCloudExtractor.mdx | 12 ++-- .../extractor/SpotifyExtractor.mdx | 16 ++--- .../extractor/VimeoExtractor.mdx | 12 ++-- .../extractor/YoutubeExtractor.mdx | 22 +++---- .../@discord-player/utils/Collection.mdx | 6 +- .../classes/@discord-player/utils/Queue.mdx | 44 ++++++------- .../classes/discord-player/AFilterGraph.mdx | 4 +- .../classes/discord-player/AsyncQueue.mdx | 12 ++-- .../discord-player/AsyncQueueEntry.mdx | 22 +++---- .../classes/discord-player/AudioFilters.mdx | 16 ++--- .../classes/discord-player/BaseExtractor.mdx | 28 ++++---- .../DiscordPlayerQueryResultCache.mdx | 6 +- .../ExtractorExecutionContext.mdx | 22 +++---- .../docs/classes/discord-player/FFmpeg.mdx | 18 ++--- .../classes/discord-player/FFmpegFilterer.mdx | 26 ++++---- .../discord-player/GuildNodeManager.mdx | 16 ++--- .../classes/discord-player/GuildQueue.mdx | 66 +++++++++---------- .../discord-player/GuildQueueAudioFilters.mdx | 12 ++-- .../discord-player/GuildQueueHistory.mdx | 18 ++--- .../discord-player/GuildQueuePlayerNode.mdx | 58 ++++++++-------- .../docs/classes/discord-player/Player.mdx | 52 +++++++-------- .../classes/discord-player/PlayerError.mdx | 12 ++-- .../discord-player/PlayerEventsEmitter.mdx | 4 +- .../docs/classes/discord-player/Playlist.mdx | 26 ++++---- .../classes/discord-player/QueryCache.mdx | 16 ++--- .../classes/discord-player/QueryResolver.mdx | 8 +-- .../classes/discord-player/SearchResult.mdx | 24 +++---- .../discord-player/StreamDispatcher.mdx | 48 +++++++------- .../docs/classes/discord-player/Track.mdx | 32 ++++----- .../docs/classes/discord-player/TypeUtil.mdx | 14 ++-- .../docs/classes/discord-player/Util.mdx | 24 +++---- .../discord-player/VoiceReceiverNode.mdx | 8 +-- .../classes/discord-player/VoiceUtils.mdx | 12 ++-- .../extractor/createImport.mdx | 2 +- .../@discord-player/extractor/getFetch.mdx | 2 +- .../@discord-player/extractor/loadYtdl.mdx | 2 +- .../extractor/lyricsExtractor.mdx | 2 +- .../extractor/makeYTSearch.mdx | 2 +- .../@discord-player/utils/createEnum.mdx | 2 +- .../discord-player/FFMPEG_ARGS_PIPED.mdx | 2 +- .../discord-player/FFMPEG_ARGS_STRING.mdx | 2 +- .../discord-player/createFFmpegStream.mdx | 2 +- .../functions/discord-player/findFFmpeg.mdx | 2 +- .../discord-player/onAfterCreateStream.mdx | 2 +- .../discord-player/onBeforeCreateStream.mdx | 2 +- .../functions/discord-player/useHistory.mdx | 2 +- .../discord-player/useMasterPlayer.mdx | 2 +- .../functions/discord-player/useMetadata.mdx | 2 +- .../functions/discord-player/usePlayer.mdx | 2 +- .../functions/discord-player/useQueue.mdx | 2 +- .../functions/discord-player/useTimeline.mdx | 5 +- .../pages/docs/guides/community-resources.md | 21 +++--- apps/website/pages/docs/guides/welcome.md | 2 + .../types/@discord-player/downloader/Info.mdx | 2 +- .../equalizer/BiquadFilterUpdateData.mdx | 2 +- .../equalizer/BiquadFilters.mdx | 2 +- .../equalizer/BiquadSetFilterProps.mdx | 2 +- .../equalizer/BiquadStreamOptions.mdx | 2 +- .../equalizer/ChannelProcessorInput.mdx | 2 +- .../equalizer/DSPFiltersPreset.mdx | 2 +- .../equalizer/EqualizerBand.mdx | 2 +- .../equalizer/EqualizerStreamOptions.mdx | 2 +- .../@discord-player/equalizer/MSTStrategy.mdx | 2 +- .../MonoStereoTransformerOptions.mdx | 2 +- .../equalizer/PCMFiltererOptions.mdx | 2 +- .../@discord-player/equalizer/PCMFilters.mdx | 2 +- .../equalizer/PCMResamplerOptions.mdx | 2 +- .../equalizer/PCMTransformerOptions.mdx | 2 +- .../@discord-player/equalizer/PCMType.mdx | 2 +- .../equalizer/ReadIntCallback.mdx | 2 +- .../equalizer/VolumeTransformerOptions.mdx | 2 +- .../equalizer/WriteIntCallback.mdx | 2 +- .../extractor/AppleMusicExtractorInit.mdx | 2 +- .../@discord-player/extractor/LyricsData.mdx | 2 +- .../extractor/SpotifyExtractorInit.mdx | 2 +- .../@discord-player/extractor/StreamFN.mdx | 2 +- .../extractor/YoutubeExtractorInit.mdx | 2 +- .../utils/PlayerExceptionMessage.mdx | 2 +- .../@discord-player/utils/QueueItemFilter.mdx | 2 +- .../@discord-player/utils/QueueStrategy.mdx | 2 +- .../AsyncQueueAcquisitionOptions.mdx | 2 +- .../types/discord-player/ErrorStatusCode.mdx | 2 +- .../ExtractorExecutionEvents.mdx | 2 +- .../discord-player/ExtractorExecutionFN.mdx | 2 +- .../ExtractorExecutionResult.mdx | 2 +- .../types/discord-player/ExtractorInfo.mdx | 2 +- .../discord-player/ExtractorSearchContext.mdx | 2 +- .../docs/types/discord-player/FFmpegInfo.mdx | 2 +- .../types/discord-player/FFmpegOptions.mdx | 2 +- .../discord-player/FFmpegStreamOptions.mdx | 2 +- .../docs/types/discord-player/FilterGraph.mdx | 2 +- .../docs/types/discord-player/FiltersName.mdx | 2 +- .../discord-player/GuildNodeCreateOptions.mdx | 2 +- .../types/discord-player/GuildNodeInit.mdx | 2 +- .../GuildQueueAFiltersCache.mdx | 2 +- .../types/discord-player/GuildQueueEvent.mdx | 2 +- .../types/discord-player/GuildQueueEvents.mdx | 2 +- .../types/discord-player/NextFunction.mdx | 2 +- .../types/discord-player/NodeResolvable.mdx | 2 +- .../OnAfterCreateStreamHandler.mdx | 2 +- .../OnBeforeCreateStreamHandler.mdx | 2 +- .../docs/types/discord-player/PlayOptions.mdx | 2 +- .../docs/types/discord-player/PlayerEvent.mdx | 2 +- .../types/discord-player/PlayerEvents.mdx | 2 +- .../discord-player/PlayerInitOptions.mdx | 2 +- .../PlayerNodeInitializationResult.mdx | 2 +- .../PlayerProgressbarOptions.mdx | 2 +- .../discord-player/PlayerSearchResult.mdx | 2 +- .../types/discord-player/PlayerTimestamp.mdx | 2 +- .../discord-player/PlayerTriggeredReason.mdx | 2 +- .../types/discord-player/PlaylistInitData.mdx | 2 +- .../types/discord-player/PlaylistJSON.mdx | 2 +- .../discord-player/PostProcessedResult.mdx | 2 +- .../discord-player/QueryCacheOptions.mdx | 2 +- .../QueryCacheResolverContext.mdx | 2 +- .../discord-player/QueryExtractorSearch.mdx | 2 +- .../types/discord-player/QueueFilters.mdx | 2 +- .../types/discord-player/QueueRepeatMode.mdx | 2 +- .../types/discord-player/RawTrackData.mdx | 2 +- .../types/discord-player/RawTrackInit.mdx | 2 +- .../discord-player/ResourcePlayOptions.mdx | 2 +- .../types/discord-player/SearchOptions.mdx | 2 +- .../types/discord-player/SearchQueryType.mdx | 2 +- .../types/discord-player/SearchResultData.mdx | 2 +- .../docs/types/discord-player/TimeData.mdx | 2 +- .../TimelineDispatcherOptions.mdx | 5 +- .../docs/types/discord-player/TrackJSON.mdx | 2 +- .../types/discord-player/TrackResolvable.mdx | 2 +- .../docs/types/discord-player/TrackSource.mdx | 2 +- .../discord-player/VoiceConnectConfig.mdx | 2 +- .../docs/types/discord-player/VoiceEvents.mdx | 2 +- .../discord-player/VoiceReceiverOptions.mdx | 2 +- packages/extractor/package.json | 2 +- .../extractor/src/extractors/common/helper.ts | 35 ++++++---- 153 files changed, 729 insertions(+), 711 deletions(-) diff --git a/apps/website/pages/docs/classes/@discord-player/downloader/Downloader.mdx b/apps/website/pages/docs/classes/@discord-player/downloader/Downloader.mdx index 0180118cf..038e493c2 100644 --- a/apps/website/pages/docs/classes/@discord-player/downloader/Downloader.mdx +++ b/apps/website/pages/docs/classes/@discord-player/downloader/Downloader.mdx @@ -21,7 +21,7 @@ Downloads stream through youtube-dl | url | string | ❌ | URL to download stream from | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/downloader/src/Downloader.ts#L24) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/downloader/src/Downloader.ts#L24) ### public static getInfo(url): Promise\<\{ info: Array\,playlist: any }> Returns stream info @@ -32,11 +32,11 @@ Returns stream info | url | string | ❌ | stream url | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/downloader/src/Downloader.ts#L49) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/downloader/src/Downloader.ts#L49) ### public static validate(url): boolean | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | url | string | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/downloader/src/Downloader.ts#L83) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/downloader/src/Downloader.ts#L83) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/@discord-player/equalizer/AudioFilter.mdx b/apps/website/pages/docs/classes/@discord-player/equalizer/AudioFilter.mdx index 91eecfc40..c881aa653 100644 --- a/apps/website/pages/docs/classes/@discord-player/equalizer/AudioFilter.mdx +++ b/apps/website/pages/docs/classes/@discord-player/equalizer/AudioFilter.mdx @@ -11,29 +11,29 @@ new AudioFilter(options) ## Properties ### public bits: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L13) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L13) ### public bytes: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L14) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L14) ### public disabled: boolean -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L16) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L16) ### public extremum: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L15) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L15) ### public filters: Array\<'8D' \| 'Tremolo' \| 'Vibrato'> -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L28) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L28) ### public pulsatorConfig: AFPulsatorConfig -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L33) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L33) ### public sampleRate: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L17) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L17) ### public targetSampleRate: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L29) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L29) ### public totalSamples: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L30) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L30) ### public tremoloConfig: AFTremoloConfig -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L39) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L39) ### public type: 's16le' \| 's16be' \| 's32le' \| 's32be' -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L12) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L12) ### public vibratoConfig: AFTremoloConfig -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L45) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L45) ### public currentDuration: number ### public currentSampleRate: number @@ -53,7 +53,7 @@ new AudioFilter(options) | index | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L62) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L62) ### public _transform(chunk, encoding, callback): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -62,7 +62,7 @@ new AudioFilter(options) | callback | TransformCallback | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L123) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L123) ### public _writeInt(buffer, int, index): number | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -71,7 +71,7 @@ new AudioFilter(options) | index | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L67) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L67) ### public applyFilters(byte, channel): number | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -79,7 +79,7 @@ new AudioFilter(options) | channel | LR | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L162) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L162) ### public clamp(val, max, min): number | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -88,61 +88,61 @@ new AudioFilter(options) | min | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L72) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L72) ### public disable(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L50) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L50) ### public enable(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L54) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L54) ### public onUpdate(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L18) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L18) ### public seek(duration): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | duration | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L112) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L112) ### public setFilters(filters): boolean | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | filters | Array\<'8D' \| 'Tremolo' \| 'Vibrato'> | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L99) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L99) ### public setPulsator(hz): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | hz | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L66) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L66) ### public setSampleRate(rate): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | rate | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L76) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L76) ### public setTargetSampleRate(rate): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | rate | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L61) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L61) ### public setTremolo(__namedParameters): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | __namedParameters | Partial\ | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L79) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L79) ### public setVibrato(__namedParameters): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | __namedParameters | Partial\ | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L87) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L87) ### public toggle(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L58) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L58) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/@discord-player/equalizer/BiquadFilter.mdx b/apps/website/pages/docs/classes/@discord-player/equalizer/BiquadFilter.mdx index 1d23b090e..ed5dab266 100644 --- a/apps/website/pages/docs/classes/@discord-player/equalizer/BiquadFilter.mdx +++ b/apps/website/pages/docs/classes/@discord-player/equalizer/BiquadFilter.mdx @@ -11,19 +11,19 @@ new BiquadFilter(coefficients) ## Properties ### public coefficients: Coefficients -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L18) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L18) ### public s1: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L15) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L15) ### public s2: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L16) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L16) ### public x1: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L11) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L11) ### public x2: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L12) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L12) ### public y1: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L13) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L13) ### public y2: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L14) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L14) ## Methods ### public replace(coefficients): void @@ -32,23 +32,23 @@ new BiquadFilter(coefficients) | coefficients | Coefficients | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L30) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L30) ### public reset(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L34) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L34) ### public run(input): number | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | input | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L43) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L43) ### public runTransposed(input): number | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | input | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L56) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L56) ### public setFilter(filter, options): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -56,11 +56,11 @@ new BiquadFilter(coefficients) | options | BiquadSetFilterProps | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L20) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L20) ### public update(coefficients): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | coefficients | Coefficients | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L26) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L26) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/@discord-player/equalizer/BiquadStream.mdx b/apps/website/pages/docs/classes/@discord-player/equalizer/BiquadStream.mdx index 4a5cf5186..11c05627a 100644 --- a/apps/website/pages/docs/classes/@discord-player/equalizer/BiquadStream.mdx +++ b/apps/website/pages/docs/classes/@discord-player/equalizer/BiquadStream.mdx @@ -11,27 +11,27 @@ new BiquadStream(options) ## Properties ### public Q: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/BiquadStream.ts#L25) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/BiquadStream.ts#L25) ### public biquad: BiquadFilter -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/BiquadStream.ts#L21) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/BiquadStream.ts#L21) ### public biquadFilter: BiquadFilters -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/BiquadStream.ts#L24) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/BiquadStream.ts#L24) ### public bits: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L13) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L13) ### public bytes: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L14) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L14) ### public cutoff: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/BiquadStream.ts#L22) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/BiquadStream.ts#L22) ### public disabled: boolean -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L16) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L16) ### public extremum: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L15) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L15) ### public gain: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/BiquadStream.ts#L23) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/BiquadStream.ts#L23) ### public sampleRate: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L17) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L17) ### public type: 's16le' \| 's16be' \| 's32le' \| 's32be' -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L12) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L12) ### public filter: BiquadFilters @@ -43,7 +43,7 @@ new BiquadStream(options) | index | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L62) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L62) ### public _transform(chunk, encoding, callback): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -52,7 +52,7 @@ new BiquadStream(options) | callback | TransformCallback | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/BiquadStream.ts#L87) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/BiquadStream.ts#L87) ### public _writeInt(buffer, int, index): number | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -61,7 +61,7 @@ new BiquadStream(options) | index | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L67) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L67) ### public clamp(val, max, min): number | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -70,56 +70,56 @@ new BiquadStream(options) | min | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L72) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L72) ### public disable(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L50) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L50) ### public enable(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L54) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L54) ### public getFilterName(): null \| BiquadFilters -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/BiquadStream.ts#L52) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/BiquadStream.ts#L52) ### public onUpdate(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L18) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L18) ### public setCutoff(f0): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | f0 | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/BiquadStream.ts#L79) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/BiquadStream.ts#L79) ### public setFilter(filter): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | filter | BiquadFilters | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/BiquadStream.ts#L71) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/BiquadStream.ts#L71) ### public setGain(dB): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | dB | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/BiquadStream.ts#L83) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/BiquadStream.ts#L83) ### public setQ(Q): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | Q | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/BiquadStream.ts#L75) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/BiquadStream.ts#L75) ### public setSampleRate(rate): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | rate | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L76) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L76) ### public toggle(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L58) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L58) ### public update(options): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | options | BiquadFilterUpdateData | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/BiquadStream.ts#L58) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/BiquadStream.ts#L58) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/@discord-player/equalizer/ChannelProcessor.mdx b/apps/website/pages/docs/classes/@discord-player/equalizer/ChannelProcessor.mdx index 67df46652..bf842db94 100644 --- a/apps/website/pages/docs/classes/@discord-player/equalizer/ChannelProcessor.mdx +++ b/apps/website/pages/docs/classes/@discord-player/equalizer/ChannelProcessor.mdx @@ -11,15 +11,15 @@ new ChannelProcessor(bandMultipliers) ## Properties ### public bandMultipliers: Array\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/ChannelProcessor.ts#L8) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/ChannelProcessor.ts#L8) ### public current: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/ChannelProcessor.ts#L9) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/ChannelProcessor.ts#L9) ### public history: Array\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/ChannelProcessor.ts#L7) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/ChannelProcessor.ts#L7) ### public m1: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/ChannelProcessor.ts#L10) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/ChannelProcessor.ts#L10) ### public m2: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/ChannelProcessor.ts#L11) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/ChannelProcessor.ts#L11) ## Methods ### public process(samples, extremum, bytes, readInt?, writeInt?): Buffer @@ -32,15 +32,15 @@ new ChannelProcessor(bandMultipliers) | writeInt | WriteIntCallback | ✅ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/ChannelProcessor.ts#L43) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/ChannelProcessor.ts#L43) ### public processInt(int): number | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | int | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/ChannelProcessor.ts#L21) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/ChannelProcessor.ts#L21) ### public reset(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/ChannelProcessor.ts#L72) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/ChannelProcessor.ts#L72) ### public step(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/ChannelProcessor.ts#L58) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/ChannelProcessor.ts#L58) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/@discord-player/equalizer/Coefficients.mdx b/apps/website/pages/docs/classes/@discord-player/equalizer/Coefficients.mdx index 863f43678..bd71e21dc 100644 --- a/apps/website/pages/docs/classes/@discord-player/equalizer/Coefficients.mdx +++ b/apps/website/pages/docs/classes/@discord-player/equalizer/Coefficients.mdx @@ -11,15 +11,15 @@ new Coefficients(data) ## Properties ### public a1: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Coefficients.ts#L28) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Coefficients.ts#L28) ### public a2: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Coefficients.ts#L29) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Coefficients.ts#L29) ### public b0: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Coefficients.ts#L32) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Coefficients.ts#L32) ### public b1: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Coefficients.ts#L33) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Coefficients.ts#L33) ### public b2: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Coefficients.ts#L34) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Coefficients.ts#L34) ## Methods ### public static from(filter, samplingFreq, cutoffFreq, Q, dbGain): Coefficients @@ -32,4 +32,4 @@ new Coefficients(data) | dbGain | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Coefficients.ts#L46) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Coefficients.ts#L46) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/@discord-player/equalizer/Equalizer.mdx b/apps/website/pages/docs/classes/@discord-player/equalizer/Equalizer.mdx index 71c7e828c..5fc50df30 100644 --- a/apps/website/pages/docs/classes/@discord-player/equalizer/Equalizer.mdx +++ b/apps/website/pages/docs/classes/@discord-player/equalizer/Equalizer.mdx @@ -12,42 +12,42 @@ new Equalizer(channelCount, bandMultipliers) ## Properties ### public bandMultipliers: Array\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/EqualizerConfiguration.ts#L2) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/EqualizerConfiguration.ts#L2) ### public channelCount: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/Equalizer.ts#L34) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/Equalizer.ts#L34) ### public channels: Array\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/Equalizer.ts#L33) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/Equalizer.ts#L33) ### public static BAND_COUNT: 15 -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/Equalizer.ts#L14) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/Equalizer.ts#L14) ### public static Coefficients48000: Array\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/Equalizer.ts#L16) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/Equalizer.ts#L16) ### public static SAMPLE_RATE: 48000 -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/Equalizer.ts#L15) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/Equalizer.ts#L15) ## Methods ### public createChannelProcessor(): Array\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/Equalizer.ts#L42) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/Equalizer.ts#L42) ### public getGain(band): number | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | band | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/EqualizerConfiguration.ts#L10) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/EqualizerConfiguration.ts#L10) ### public isValidBand(band): boolean | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | band | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/EqualizerConfiguration.ts#L18) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/EqualizerConfiguration.ts#L18) ### public process(input): Array\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | input | Array\ | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/Equalizer.ts#L48) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/Equalizer.ts#L48) ### public setGain(band, value): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -55,4 +55,4 @@ new Equalizer(channelCount, bandMultipliers) | value | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/EqualizerConfiguration.ts#L4) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/EqualizerConfiguration.ts#L4) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/@discord-player/equalizer/EqualizerCoefficients.mdx b/apps/website/pages/docs/classes/@discord-player/equalizer/EqualizerCoefficients.mdx index d956ff621..fd08f0bf0 100644 --- a/apps/website/pages/docs/classes/@discord-player/equalizer/EqualizerCoefficients.mdx +++ b/apps/website/pages/docs/classes/@discord-player/equalizer/EqualizerCoefficients.mdx @@ -13,11 +13,11 @@ new EqualizerCoefficients(beta, alpha, gamma) ## Properties ### public alpha: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/Coefficients.ts#L2) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/Coefficients.ts#L2) ### public beta: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/Coefficients.ts#L2) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/Coefficients.ts#L2) ### public gamma: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/Coefficients.ts#L2) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/Coefficients.ts#L2) ## Methods ### public setAlpha(v): void @@ -26,20 +26,20 @@ new EqualizerCoefficients(beta, alpha, gamma) | v | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/Coefficients.ts#L8) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/Coefficients.ts#L8) ### public setBeta(v): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | v | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/Coefficients.ts#L4) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/Coefficients.ts#L4) ### public setGamma(v): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | v | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/Coefficients.ts#L12) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/Coefficients.ts#L12) ### public toJSON(): \{ alpha: number,beta: number,gamma: number } -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/Coefficients.ts#L16) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/Coefficients.ts#L16) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/@discord-player/equalizer/EqualizerConfiguration.mdx b/apps/website/pages/docs/classes/@discord-player/equalizer/EqualizerConfiguration.mdx index 02e137553..e266e0036 100644 --- a/apps/website/pages/docs/classes/@discord-player/equalizer/EqualizerConfiguration.mdx +++ b/apps/website/pages/docs/classes/@discord-player/equalizer/EqualizerConfiguration.mdx @@ -11,7 +11,7 @@ new EqualizerConfiguration(bandMultipliers) ## Properties ### public bandMultipliers: Array\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/EqualizerConfiguration.ts#L2) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/EqualizerConfiguration.ts#L2) ## Methods ### public getGain(band): number @@ -20,14 +20,14 @@ new EqualizerConfiguration(bandMultipliers) | band | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/EqualizerConfiguration.ts#L10) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/EqualizerConfiguration.ts#L10) ### public isValidBand(band): boolean | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | band | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/EqualizerConfiguration.ts#L18) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/EqualizerConfiguration.ts#L18) ### public setGain(band, value): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -35,4 +35,4 @@ new EqualizerConfiguration(bandMultipliers) | value | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/EqualizerConfiguration.ts#L4) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/EqualizerConfiguration.ts#L4) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/@discord-player/equalizer/EqualizerStream.mdx b/apps/website/pages/docs/classes/@discord-player/equalizer/EqualizerStream.mdx index c5ab3a1a1..814ef97a5 100644 --- a/apps/website/pages/docs/classes/@discord-player/equalizer/EqualizerStream.mdx +++ b/apps/website/pages/docs/classes/@discord-player/equalizer/EqualizerStream.mdx @@ -11,21 +11,21 @@ new EqualizerStream(options) ## Properties ### public bandMultipliers: Array\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/EqualizerStream.ts#L16) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/EqualizerStream.ts#L16) ### public bits: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L13) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L13) ### public bytes: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L14) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L14) ### public disabled: boolean -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L16) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L16) ### public equalizer: Equalizer -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/EqualizerStream.ts#L17) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/EqualizerStream.ts#L17) ### public extremum: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L15) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L15) ### public sampleRate: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L17) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L17) ### public type: 's16le' \| 's16be' \| 's32le' \| 's32be' -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L12) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L12) ## Methods ### public _processBands(multiplier): void @@ -34,7 +34,7 @@ new EqualizerStream(options) | multiplier | Array\ | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/EqualizerStream.ts#L34) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/EqualizerStream.ts#L34) ### public _readInt(buffer, index): number | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -42,7 +42,7 @@ new EqualizerStream(options) | index | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L62) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L62) ### public _transform(chunk, encoding, callback): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -51,7 +51,7 @@ new EqualizerStream(options) | callback | TransformCallback | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/EqualizerStream.ts#L43) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/EqualizerStream.ts#L43) ### public _writeInt(buffer, int, index): number | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -60,7 +60,7 @@ new EqualizerStream(options) | index | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L67) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L67) ### public clamp(val, max, min): number | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -69,30 +69,30 @@ new EqualizerStream(options) | min | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L72) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L72) ### public disable(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L50) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L50) ### public enable(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L54) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L54) ### public getEQ(): Array\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/EqualizerStream.ts#L64) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/EqualizerStream.ts#L64) ### public onUpdate(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L18) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L18) ### public resetEQ(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/EqualizerStream.ts#L75) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/EqualizerStream.ts#L75) ### public setEQ(bands): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | bands | Array\ | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/EqualizerStream.ts#L71) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/EqualizerStream.ts#L71) ### public setSampleRate(rate): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | rate | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L76) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L76) ### public toggle(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L58) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L58) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/@discord-player/equalizer/FiltersChain.mdx b/apps/website/pages/docs/classes/@discord-player/equalizer/FiltersChain.mdx index e2c7b0be8..87eb5e367 100644 --- a/apps/website/pages/docs/classes/@discord-player/equalizer/FiltersChain.mdx +++ b/apps/website/pages/docs/classes/@discord-player/equalizer/FiltersChain.mdx @@ -11,25 +11,25 @@ new FiltersChain(presets) ## Properties ### public biquad: null \| BiquadStream -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/FiltersChainBuilder.ts#L18) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/FiltersChainBuilder.ts#L18) ### public destination: null \| Readable -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/FiltersChainBuilder.ts#L21) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/FiltersChainBuilder.ts#L21) ### public equalizer: null \| EqualizerStream -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/FiltersChainBuilder.ts#L16) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/FiltersChainBuilder.ts#L16) ### public filters: null \| AudioFilter -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/FiltersChainBuilder.ts#L17) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/FiltersChainBuilder.ts#L17) ### public onError: (err: Error) => unknown -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/FiltersChainBuilder.ts#L24) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/FiltersChainBuilder.ts#L24) ### public onUpdate: (...args: unknown\[]) => unknown -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/FiltersChainBuilder.ts#L23) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/FiltersChainBuilder.ts#L23) ### public presets: DSPFiltersPreset -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/FiltersChainBuilder.ts#L26) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/FiltersChainBuilder.ts#L26) ### public resampler: null \| PCMResampler -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/FiltersChainBuilder.ts#L20) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/FiltersChainBuilder.ts#L20) ### public source: null \| Readable -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/FiltersChainBuilder.ts#L22) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/FiltersChainBuilder.ts#L22) ### public volume: null \| VolumeTransformer -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/FiltersChainBuilder.ts#L19) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/FiltersChainBuilder.ts#L19) ## Methods ### public create(src, presets): Readable @@ -39,6 +39,6 @@ new FiltersChain(presets) | presets | DSPFiltersPreset | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/FiltersChainBuilder.ts#L28) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/FiltersChainBuilder.ts#L28) ### public destroy(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/FiltersChainBuilder.ts#L64) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/FiltersChainBuilder.ts#L64) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/@discord-player/equalizer/Frequency.mdx b/apps/website/pages/docs/classes/@discord-player/equalizer/Frequency.mdx index dbd518bfd..b12b7a79c 100644 --- a/apps/website/pages/docs/classes/@discord-player/equalizer/Frequency.mdx +++ b/apps/website/pages/docs/classes/@discord-player/equalizer/Frequency.mdx @@ -13,16 +13,16 @@ new Frequency(__val) ## Methods ### public dt(): number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/Frequency.ts#L19) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/Frequency.ts#L19) ### public hz(): number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/Frequency.ts#L15) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/Frequency.ts#L15) ### public khz(): number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/Frequency.ts#L7) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/Frequency.ts#L7) ### public mhz(): number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/Frequency.ts#L11) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/Frequency.ts#L11) ### public toJSON(): string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/Frequency.ts#L31) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/Frequency.ts#L31) ### public toString(): string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/Frequency.ts#L27) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/Frequency.ts#L27) ### public valueOf(): number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/Frequency.ts#L23) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/Frequency.ts#L23) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/@discord-player/equalizer/MonoStereoTransformer.mdx b/apps/website/pages/docs/classes/@discord-player/equalizer/MonoStereoTransformer.mdx index 878de4458..d1d77427b 100644 --- a/apps/website/pages/docs/classes/@discord-player/equalizer/MonoStereoTransformer.mdx +++ b/apps/website/pages/docs/classes/@discord-player/equalizer/MonoStereoTransformer.mdx @@ -11,19 +11,19 @@ new MonoStereoTransformer(options) ## Properties ### public bits: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L13) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L13) ### public bytes: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L14) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L14) ### public disabled: boolean -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L16) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L16) ### public extremum: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L15) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L15) ### public sampleRate: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L17) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L17) ### public strategy: MSTStrategy -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/MonoStereoTransformer.ts#L16) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/MonoStereoTransformer.ts#L16) ### public type: 's16le' \| 's16be' \| 's32le' \| 's32be' -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L12) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L12) ## Methods ### public _readInt(buffer, index): number @@ -33,7 +33,7 @@ new MonoStereoTransformer(options) | index | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L62) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L62) ### public _transform(chunk, encoding, callback): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -42,7 +42,7 @@ new MonoStereoTransformer(options) | callback | TransformCallback | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/MonoStereoTransformer.ts#L31) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/MonoStereoTransformer.ts#L31) ### public _writeInt(buffer, int, index): number | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -51,7 +51,7 @@ new MonoStereoTransformer(options) | index | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L67) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L67) ### public clamp(val, max, min): number | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -60,27 +60,27 @@ new MonoStereoTransformer(options) | min | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L72) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L72) ### public disable(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L50) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L50) ### public enable(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L54) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L54) ### public onUpdate(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L18) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L18) ### public setSampleRate(rate): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | rate | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L76) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L76) ### public setStrategy(strategy): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | strategy | MSTStrategy | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/MonoStereoTransformer.ts#L27) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/MonoStereoTransformer.ts#L27) ### public toMono(sample, len): Buffer | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -88,7 +88,7 @@ new MonoStereoTransformer(options) | len | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/MonoStereoTransformer.ts#L62) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/MonoStereoTransformer.ts#L62) ### public toStereo(sample, len): Buffer | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -96,6 +96,6 @@ new MonoStereoTransformer(options) | len | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/MonoStereoTransformer.ts#L48) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/MonoStereoTransformer.ts#L48) ### public toggle(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L58) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L58) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/@discord-player/equalizer/PCMResampler.mdx b/apps/website/pages/docs/classes/@discord-player/equalizer/PCMResampler.mdx index a52822214..b9f32f701 100644 --- a/apps/website/pages/docs/classes/@discord-player/equalizer/PCMResampler.mdx +++ b/apps/website/pages/docs/classes/@discord-player/equalizer/PCMResampler.mdx @@ -11,19 +11,19 @@ new PCMResampler(options) ## Properties ### public bits: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L13) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L13) ### public bytes: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L14) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L14) ### public disabled: boolean -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L16) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L16) ### public extremum: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L15) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L15) ### public sampleRate: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L17) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L17) ### public targetSampleRate: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/PCMResampler.ts#L9) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/PCMResampler.ts#L9) ### public type: 's16le' \| 's16be' \| 's32le' \| 's32be' -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L12) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L12) ### public AF_NIGHTCORE: number ### public AF_VAPORWAVE: number @@ -37,7 +37,7 @@ new PCMResampler(options) | index | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L62) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L62) ### public _transform(chunk, _, cb): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -46,7 +46,7 @@ new PCMResampler(options) | cb | TransformCallback | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/PCMResampler.ts#L33) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/PCMResampler.ts#L33) ### public _writeInt(buffer, int, index): number | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -55,7 +55,7 @@ new PCMResampler(options) | index | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L67) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L67) ### public clamp(val, max, min): number | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -64,26 +64,26 @@ new PCMResampler(options) | min | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L72) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L72) ### public disable(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L50) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L50) ### public enable(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L54) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L54) ### public onUpdate(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L18) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L18) ### public setSampleRate(rate): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | rate | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L76) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L76) ### public setTargetSampleRate(rate): boolean | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | rate | number \| 'NIGHTCORE' \| 'VAPORWAVE' | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/PCMResampler.ts#L24) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/PCMResampler.ts#L24) ### public toggle(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L58) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L58) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/@discord-player/equalizer/PCMTransformer.mdx b/apps/website/pages/docs/classes/@discord-player/equalizer/PCMTransformer.mdx index 246853345..5052bc8d5 100644 --- a/apps/website/pages/docs/classes/@discord-player/equalizer/PCMTransformer.mdx +++ b/apps/website/pages/docs/classes/@discord-player/equalizer/PCMTransformer.mdx @@ -11,17 +11,17 @@ new PCMTransformer(options) ## Properties ### public bits: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L13) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L13) ### public bytes: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L14) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L14) ### public disabled: boolean -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L16) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L16) ### public extremum: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L15) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L15) ### public sampleRate: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L17) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L17) ### public type: 's16le' \| 's16be' \| 's32le' \| 's32be' -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L12) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L12) ## Methods ### public _readInt(buffer, index): number @@ -31,7 +31,7 @@ new PCMTransformer(options) | index | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L62) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L62) ### public _writeInt(buffer, int, index): number | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -40,7 +40,7 @@ new PCMTransformer(options) | index | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L67) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L67) ### public clamp(val, max, min): number | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -49,19 +49,19 @@ new PCMTransformer(options) | min | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L72) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L72) ### public disable(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L50) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L50) ### public enable(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L54) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L54) ### public onUpdate(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L18) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L18) ### public setSampleRate(rate): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | rate | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L76) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L76) ### public toggle(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L58) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L58) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/@discord-player/equalizer/VolumeTransformer.mdx b/apps/website/pages/docs/classes/@discord-player/equalizer/VolumeTransformer.mdx index aaa4b1637..c258e790d 100644 --- a/apps/website/pages/docs/classes/@discord-player/equalizer/VolumeTransformer.mdx +++ b/apps/website/pages/docs/classes/@discord-player/equalizer/VolumeTransformer.mdx @@ -11,17 +11,17 @@ new VolumeTransformer(options) ## Properties ### public bits: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L13) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L13) ### public bytes: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L14) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L14) ### public disabled: boolean -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L16) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L16) ### public extremum: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L15) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L15) ### public sampleRate: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L17) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L17) ### public type: 's16le' \| 's16be' \| 's32le' \| 's32be' -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L12) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L12) ### public volume: number @@ -33,7 +33,7 @@ new VolumeTransformer(options) | index | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L62) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L62) ### public _transform(chunk, encoding, callback): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -42,7 +42,7 @@ new VolumeTransformer(options) | callback | TransformCallback | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/VolumeTransformer.ts#L38) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/VolumeTransformer.ts#L38) ### public _writeInt(buffer, int, index): number | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -51,7 +51,7 @@ new VolumeTransformer(options) | index | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L67) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L67) ### public clamp(val, max, min): number | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -60,28 +60,28 @@ new VolumeTransformer(options) | min | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L72) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L72) ### public disable(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L50) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L50) ### public enable(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L54) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L54) ### public onUpdate(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L18) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L18) ### public setSampleRate(rate): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | rate | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L76) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L76) ### public setVolume(volume): boolean | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | volume | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/VolumeTransformer.ts#L26) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/VolumeTransformer.ts#L26) ### public toString(): string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/VolumeTransformer.ts#L58) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/VolumeTransformer.ts#L58) ### public toggle(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L58) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L58) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/@discord-player/extractor/AppleMusicExtractor.mdx b/apps/website/pages/docs/classes/@discord-player/extractor/AppleMusicExtractor.mdx index 971ab73bd..f102a7201 100644 --- a/apps/website/pages/docs/classes/@discord-player/extractor/AppleMusicExtractor.mdx +++ b/apps/website/pages/docs/classes/@discord-player/extractor/AppleMusicExtractor.mdx @@ -16,13 +16,13 @@ new AppleMusicExtractor(context, options) ### public options: AppleMusicExtractorInit ### public static identifier: 'com.discord\-player.applemusicextractor' -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/AppleMusicExtractor.ts#L12) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/AppleMusicExtractor.ts#L12) ### public identifier: string Identifier of this extractor ## Methods ### public activate(): Promise\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/AppleMusicExtractor.ts#L16) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/AppleMusicExtractor.ts#L16) ### public createResponse(playlist?, tracks?): ExtractorInfo Create extractor response @@ -57,7 +57,7 @@ Dispatch an event to the player | track | Track | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/AppleMusicExtractor.ts#L45) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/AppleMusicExtractor.ts#L45) ### public handle(query, context): Promise\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -65,7 +65,7 @@ Dispatch an event to the player | context | ExtractorSearchContext | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/AppleMusicExtractor.ts#L55) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/AppleMusicExtractor.ts#L55) ### public handlePostStream(stream, next): void A stream middleware to handle streams before passing it to the player @@ -89,7 +89,7 @@ Reconfigures this extractor | info | Track | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/AppleMusicExtractor.ts#L200) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/AppleMusicExtractor.ts#L200) ### public validate(query, type?): Promise\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -97,4 +97,4 @@ Reconfigures this extractor | type | null \| SearchQueryType | ✅ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/AppleMusicExtractor.ts#L33) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/AppleMusicExtractor.ts#L33) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/@discord-player/extractor/AttachmentExtractor.mdx b/apps/website/pages/docs/classes/@discord-player/extractor/AttachmentExtractor.mdx index 96c508f95..7ba05e660 100644 --- a/apps/website/pages/docs/classes/@discord-player/extractor/AttachmentExtractor.mdx +++ b/apps/website/pages/docs/classes/@discord-player/extractor/AttachmentExtractor.mdx @@ -16,7 +16,7 @@ new AttachmentExtractor(context, options) ### public options: object ### public static identifier: 'com.discord\-player.attachmentextractor' -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/AttachmentExtractor.ts#L19) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/AttachmentExtractor.ts#L19) ### public identifier: string Identifier of this extractor @@ -52,14 +52,14 @@ Dispatch an event to the player | event | K | ❌ | The event to dispatch | | args | Parameters\ | ❌ | The data to dispatch | ### public emptyResponse(): ExtractorInfo -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/AttachmentExtractor.ts#L118) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/AttachmentExtractor.ts#L118) ### public getRelatedTracks(track): Promise\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | track | Track | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/AttachmentExtractor.ts#L26) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/AttachmentExtractor.ts#L26) ### public handle(query, context): Promise\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -67,7 +67,7 @@ Dispatch an event to the player | context | ExtractorSearchContext | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/AttachmentExtractor.ts#L31) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/AttachmentExtractor.ts#L31) ### public handlePostStream(stream, next): void A stream middleware to handle streams before passing it to the player @@ -91,7 +91,7 @@ Reconfigures this extractor | info | Track | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/AttachmentExtractor.ts#L122) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/AttachmentExtractor.ts#L122) ### public validate(query, type?): Promise\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -99,4 +99,4 @@ Reconfigures this extractor | type | null \| SearchQueryType | ✅ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/AttachmentExtractor.ts#L21) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/AttachmentExtractor.ts#L21) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/@discord-player/extractor/ReverbnationExtractor.mdx b/apps/website/pages/docs/classes/@discord-player/extractor/ReverbnationExtractor.mdx index 8ea17ebea..950cebf58 100644 --- a/apps/website/pages/docs/classes/@discord-player/extractor/ReverbnationExtractor.mdx +++ b/apps/website/pages/docs/classes/@discord-player/extractor/ReverbnationExtractor.mdx @@ -16,7 +16,7 @@ new ReverbnationExtractor(context, options) ### public options: object ### public static identifier: 'com.discord\-player.reverbnationextractor' -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/ReverbnationExtractor.ts#L14) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/ReverbnationExtractor.ts#L14) ### public identifier: string Identifier of this extractor @@ -52,14 +52,14 @@ Dispatch an event to the player | event | K | ❌ | The event to dispatch | | args | Parameters\ | ❌ | The data to dispatch | ### public emptyResponse(): ExtractorInfo -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/ReverbnationExtractor.ts#L56) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/ReverbnationExtractor.ts#L56) ### public getRelatedTracks(track): Promise\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | track | Track | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/ReverbnationExtractor.ts#L21) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/ReverbnationExtractor.ts#L21) ### public handle(query, context): Promise\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -67,7 +67,7 @@ Dispatch an event to the player | context | ExtractorSearchContext | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/ReverbnationExtractor.ts#L26) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/ReverbnationExtractor.ts#L26) ### public handlePostStream(stream, next): void A stream middleware to handle streams before passing it to the player @@ -91,7 +91,7 @@ Reconfigures this extractor | info | Track | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/ReverbnationExtractor.ts#L60) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/ReverbnationExtractor.ts#L60) ### public validate(query, type?): Promise\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -99,4 +99,4 @@ Reconfigures this extractor | type | null \| SearchQueryType | ✅ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/ReverbnationExtractor.ts#L16) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/ReverbnationExtractor.ts#L16) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/@discord-player/extractor/SoundCloudExtractor.mdx b/apps/website/pages/docs/classes/@discord-player/extractor/SoundCloudExtractor.mdx index 46871e55d..9c01b5702 100644 --- a/apps/website/pages/docs/classes/@discord-player/extractor/SoundCloudExtractor.mdx +++ b/apps/website/pages/docs/classes/@discord-player/extractor/SoundCloudExtractor.mdx @@ -16,7 +16,7 @@ new SoundCloudExtractor(context, options) ### public options: object ### public static identifier: 'com.discord\-player.soundcloudextractor' -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/SoundCloudExtractor.ts#L19) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/SoundCloudExtractor.ts#L19) ### public identifier: string Identifier of this extractor @@ -52,14 +52,14 @@ Dispatch an event to the player | event | K | ❌ | The event to dispatch | | args | Parameters\ | ❌ | The data to dispatch | ### public emptyResponse(): ExtractorInfo -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/SoundCloudExtractor.ts#L160) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/SoundCloudExtractor.ts#L160) ### public getRelatedTracks(track): Promise\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | track | Track | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/SoundCloudExtractor.ts#L34) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/SoundCloudExtractor.ts#L34) ### public handle(query, context): Promise\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -67,7 +67,7 @@ Dispatch an event to the player | context | ExtractorSearchContext | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/SoundCloudExtractor.ts#L44) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/SoundCloudExtractor.ts#L44) ### public handlePostStream(stream, next): void A stream middleware to handle streams before passing it to the player @@ -91,7 +91,7 @@ Reconfigures this extractor | info | Track | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/SoundCloudExtractor.ts#L164) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/SoundCloudExtractor.ts#L164) ### public validate(query, type?): Promise\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -99,4 +99,4 @@ Reconfigures this extractor | type | null \| SearchQueryType | ✅ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/SoundCloudExtractor.ts#L21) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/SoundCloudExtractor.ts#L21) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/@discord-player/extractor/SpotifyExtractor.mdx b/apps/website/pages/docs/classes/@discord-player/extractor/SpotifyExtractor.mdx index 7748914df..ee9295181 100644 --- a/apps/website/pages/docs/classes/@discord-player/extractor/SpotifyExtractor.mdx +++ b/apps/website/pages/docs/classes/@discord-player/extractor/SpotifyExtractor.mdx @@ -14,17 +14,17 @@ new SpotifyExtractor(context, options) ### public context: ExtractorExecutionContext ### public internal: SpotifyAPI -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/SpotifyExtractor.ts#L25) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/SpotifyExtractor.ts#L25) ### public options: SpotifyExtractorInit ### public static identifier: 'com.discord\-player.spotifyextractor' -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/SpotifyExtractor.ts#L17) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/SpotifyExtractor.ts#L17) ### public identifier: string Identifier of this extractor ## Methods ### public activate(): Promise\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/SpotifyExtractor.ts#L27) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/SpotifyExtractor.ts#L27) ### public createResponse(playlist?, tracks?): ExtractorInfo Create extractor response @@ -59,7 +59,7 @@ Dispatch an event to the player | track | Track | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/SpotifyExtractor.ts#L58) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/SpotifyExtractor.ts#L58) ### public handle(query, context): Promise\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -67,7 +67,7 @@ Dispatch an event to the player | context | ExtractorSearchContext | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/SpotifyExtractor.ts#L64) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/SpotifyExtractor.ts#L64) ### public handlePostStream(stream, next): void A stream middleware to handle streams before passing it to the player @@ -83,7 +83,7 @@ A stream middleware to handle streams before passing it to the player | q | string | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/SpotifyExtractor.ts#L306) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/SpotifyExtractor.ts#L306) ### public reconfigure(options): Promise\ Reconfigures this extractor @@ -98,7 +98,7 @@ Reconfigures this extractor | info | Track | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/SpotifyExtractor.ts#L285) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/SpotifyExtractor.ts#L285) ### public validate(query, type?): Promise\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -106,4 +106,4 @@ Reconfigures this extractor | type | null \| SearchQueryType | ✅ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/SpotifyExtractor.ts#L46) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/SpotifyExtractor.ts#L46) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/@discord-player/extractor/VimeoExtractor.mdx b/apps/website/pages/docs/classes/@discord-player/extractor/VimeoExtractor.mdx index f5712213a..3140b6dd4 100644 --- a/apps/website/pages/docs/classes/@discord-player/extractor/VimeoExtractor.mdx +++ b/apps/website/pages/docs/classes/@discord-player/extractor/VimeoExtractor.mdx @@ -16,7 +16,7 @@ new VimeoExtractor(context, options) ### public options: object ### public static identifier: 'com.discord\-player.vimeoextractor' -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/VimeoExtractor.ts#L14) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/VimeoExtractor.ts#L14) ### public identifier: string Identifier of this extractor @@ -52,14 +52,14 @@ Dispatch an event to the player | event | K | ❌ | The event to dispatch | | args | Parameters\ | ❌ | The data to dispatch | ### public emptyResponse(): ExtractorInfo -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/VimeoExtractor.ts#L61) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/VimeoExtractor.ts#L61) ### public getRelatedTracks(track): Promise\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | track | Track | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/VimeoExtractor.ts#L21) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/VimeoExtractor.ts#L21) ### public handle(query, context): Promise\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -67,7 +67,7 @@ Dispatch an event to the player | context | ExtractorSearchContext | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/VimeoExtractor.ts#L26) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/VimeoExtractor.ts#L26) ### public handlePostStream(stream, next): void A stream middleware to handle streams before passing it to the player @@ -91,7 +91,7 @@ Reconfigures this extractor | info | Track | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/VimeoExtractor.ts#L65) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/VimeoExtractor.ts#L65) ### public validate(query, type?): Promise\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -99,4 +99,4 @@ Reconfigures this extractor | type | null \| SearchQueryType | ✅ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/VimeoExtractor.ts#L16) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/VimeoExtractor.ts#L16) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/@discord-player/extractor/YoutubeExtractor.mdx b/apps/website/pages/docs/classes/@discord-player/extractor/YoutubeExtractor.mdx index a8fc1e9dd..6178c5d73 100644 --- a/apps/website/pages/docs/classes/@discord-player/extractor/YoutubeExtractor.mdx +++ b/apps/website/pages/docs/classes/@discord-player/extractor/YoutubeExtractor.mdx @@ -12,19 +12,19 @@ new YoutubeExtractor(context, options) ## Properties ### public _ytLibName: string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/YoutubeExtractor.ts#L30) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/YoutubeExtractor.ts#L30) ### public context: ExtractorExecutionContext ### public options: YoutubeExtractorInit ### public static identifier: 'com.discord\-player.youtubeextractor' -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/YoutubeExtractor.ts#L28) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/YoutubeExtractor.ts#L28) ### public identifier: string Identifier of this extractor ## Methods ### public activate(): Promise\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/YoutubeExtractor.ts#L32) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/YoutubeExtractor.ts#L32) ### public createResponse(playlist?, tracks?): ExtractorInfo Create extractor response @@ -54,14 +54,14 @@ Dispatch an event to the player | event | K | ❌ | The event to dispatch | | args | Parameters\ | ❌ | The data to dispatch | ### public emptyResponse(): ExtractorInfo -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/YoutubeExtractor.ts#L216) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/YoutubeExtractor.ts#L216) ### public getRelatedTracks(track): Promise\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | track | Track | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/YoutubeExtractor.ts#L176) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/YoutubeExtractor.ts#L176) ### public handle(query, context): Promise\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -69,7 +69,7 @@ Dispatch an event to the player | context | ExtractorSearchContext | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/YoutubeExtractor.ts#L61) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/YoutubeExtractor.ts#L61) ### public handlePostStream(stream, next): void A stream middleware to handle streams before passing it to the player @@ -93,7 +93,7 @@ Reconfigures this extractor | info | Track | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/YoutubeExtractor.ts#L220) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/YoutubeExtractor.ts#L220) ### public validate(query, type?): Promise\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -101,25 +101,25 @@ Reconfigures this extractor | type | null \| SearchQueryType | ✅ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/YoutubeExtractor.ts#L48) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/YoutubeExtractor.ts#L48) ### public static parseURL(link): string | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | link | string | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/YoutubeExtractor.ts#L244) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/YoutubeExtractor.ts#L244) ### public static validateId(id): boolean | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | id | string | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/YoutubeExtractor.ts#L240) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/YoutubeExtractor.ts#L240) ### public static validateURL(link): boolean | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | link | string | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/YoutubeExtractor.ts#L231) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/YoutubeExtractor.ts#L231) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/@discord-player/utils/Collection.mdx b/apps/website/pages/docs/classes/@discord-player/utils/Collection.mdx index 31b10dabb..40071f4bb 100644 --- a/apps/website/pages/docs/classes/@discord-player/utils/Collection.mdx +++ b/apps/website/pages/docs/classes/@discord-player/utils/Collection.mdx @@ -13,14 +13,14 @@ new Collection(entries) ## Methods ### public array(): Array\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Collection.ts#L9) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Collection.ts#L9) ### public delete(key): boolean | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | key | K | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Collection.ts#L21) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Collection.ts#L21) ### public set(key, value): Collection\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -28,4 +28,4 @@ new Collection(entries) | value | V | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Collection.ts#L15) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Collection.ts#L15) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/@discord-player/utils/Queue.mdx b/apps/website/pages/docs/classes/@discord-player/utils/Queue.mdx index 865d1b9be..86dc0919a 100644 --- a/apps/website/pages/docs/classes/@discord-player/utils/Queue.mdx +++ b/apps/website/pages/docs/classes/@discord-player/utils/Queue.mdx @@ -12,9 +12,9 @@ new Queue(strategy, initializer) ## Properties ### public store: Array\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Queue.ts#L8) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Queue.ts#L8) ### public strategy: QueueStrategy -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Queue.ts#L9) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Queue.ts#L9) ### public data: Array\ ### public size: number @@ -22,88 +22,88 @@ new Queue(strategy, initializer) ## Methods ### public \[custom](): string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Queue.ts#L123) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Queue.ts#L123) ### public add(item): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | item | T \| Array\ | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Queue.ts#L36) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Queue.ts#L36) ### public at(idx): undefined \| T | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | idx | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Queue.ts#L94) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Queue.ts#L94) ### public clear(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Queue.ts#L52) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Queue.ts#L52) ### public clone(): Queue\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Queue.ts#L103) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Queue.ts#L103) ### public dispatch(): undefined \| T -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Queue.ts#L99) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Queue.ts#L99) ### public every(itemFilter): boolean | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | itemFilter | QueueItemFilter\ | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Queue.ts#L85) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Queue.ts#L85) ### public filter(itemFilter): Array\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | itemFilter | QueueItemFilter\ | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Queue.ts#L77) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Queue.ts#L77) ### public find(itemFilter): undefined \| T | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | itemFilter | QueueItemFilter\ | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Queue.ts#L73) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Queue.ts#L73) ### public isFIFO(): boolean -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Queue.ts#L28) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Queue.ts#L28) ### public isLIFO(): boolean -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Queue.ts#L32) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Queue.ts#L32) ### public map(itemFilter): Array\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | itemFilter | QueueItemFilter\ | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Queue.ts#L89) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Queue.ts#L89) ### public remove(itemFilter): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | itemFilter | QueueItemFilter\ | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Queue.ts#L63) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Queue.ts#L63) ### public removeOne(itemFilter): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | itemFilter | QueueItemFilter\ | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Queue.ts#L68) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Queue.ts#L68) ### public shuffle(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Queue.ts#L56) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Queue.ts#L56) ### public some(itemFilter): boolean | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | itemFilter | QueueItemFilter\ | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Queue.ts#L81) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Queue.ts#L81) ### public toArray(): Array\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Queue.ts#L115) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Queue.ts#L115) ### public toJSON(): Array\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Queue.ts#L119) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Queue.ts#L119) ### public toString(): string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Queue.ts#L111) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Queue.ts#L111) ### public static from(data, strategy): Queue\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -111,4 +111,4 @@ new Queue(strategy, initializer) | strategy | QueueStrategy | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Queue.ts#L24) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Queue.ts#L24) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/AFilterGraph.mdx b/apps/website/pages/docs/classes/discord-player/AFilterGraph.mdx index d303795f3..2cd8577cb 100644 --- a/apps/website/pages/docs/classes/discord-player/AFilterGraph.mdx +++ b/apps/website/pages/docs/classes/discord-player/AFilterGraph.mdx @@ -11,7 +11,7 @@ new AFilterGraph(af) ## Properties ### public af: GuildQueueAudioFilters\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L271) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L271) ### public biquad: null ### public equalizer: Array\ @@ -27,4 +27,4 @@ new AFilterGraph(af) ## Methods ### public dump(): FilterGraph -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L301) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L301) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/AsyncQueue.mdx b/apps/website/pages/docs/classes/discord-player/AsyncQueue.mdx index e895f8f48..54ed2f478 100644 --- a/apps/website/pages/docs/classes/discord-player/AsyncQueue.mdx +++ b/apps/website/pages/docs/classes/discord-player/AsyncQueue.mdx @@ -10,7 +10,7 @@ new AsyncQueue() ### public entries: Array\ The queued entries -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AsyncQueue.ts#L14) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AsyncQueue.ts#L14) ### public size: number The total number of entries in this queue. Returns `0` if no entries are available. @@ -36,13 +36,13 @@ asyncQueue.release(); | options | AsyncQueueAcquisitionOptions | ✅ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AsyncQueue.ts#L49) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AsyncQueue.ts#L49) ### public cancelAll(): void Cancel all entries -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AsyncQueue.ts#L75) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AsyncQueue.ts#L75) ### public clear(consume): void Clear entries queue @@ -53,13 +53,13 @@ Clear entries queue | consume | boolean | ❌ | Whether or not to consume all entries before clearing | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AsyncQueue.ts#L20) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AsyncQueue.ts#L20) ### public release(): void Release the current acquisition and move to next entry. -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AsyncQueue.ts#L65) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AsyncQueue.ts#L65) ### public removeEntry(entry): boolean Remove the given entry from the queue @@ -70,4 +70,4 @@ Remove the given entry from the queue | entry | AsyncQueueEntry | ❌ | The entry to remove | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AsyncQueue.ts#L83) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AsyncQueue.ts#L83) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/AsyncQueueEntry.mdx b/apps/website/pages/docs/classes/discord-player/AsyncQueueEntry.mdx index b7ae08f41..1a5b72f5e 100644 --- a/apps/website/pages/docs/classes/discord-player/AsyncQueueEntry.mdx +++ b/apps/website/pages/docs/classes/discord-player/AsyncQueueEntry.mdx @@ -12,31 +12,31 @@ new AsyncQueueEntry(queue, options) ## Properties ### public id: string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AsyncQueue.ts#L96) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AsyncQueue.ts#L96) ### public onAbort: null \| (...args: unknown\[]) => void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AsyncQueue.ts#L99) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AsyncQueue.ts#L99) ### public options: AsyncQueueAcquisitionOptions -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AsyncQueue.ts#L103) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AsyncQueue.ts#L103) ### public queue: AsyncQueue -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AsyncQueue.ts#L103) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AsyncQueue.ts#L103) ### public signal: null \| AbortSignal -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AsyncQueue.ts#L98) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AsyncQueue.ts#L98) ## Methods ### public cancel(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AsyncQueue.ts#L135) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AsyncQueue.ts#L135) ### public cleanup(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AsyncQueue.ts#L140) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AsyncQueue.ts#L140) ### public consume(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AsyncQueue.ts#L125) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AsyncQueue.ts#L125) ### public getTask(): Promise\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AsyncQueue.ts#L146) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AsyncQueue.ts#L146) ### public release(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AsyncQueue.ts#L130) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AsyncQueue.ts#L130) ### public setAbortSignal(signal): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | signal | AbortSignal | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AsyncQueue.ts#L114) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AsyncQueue.ts#L114) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/AudioFilters.mdx b/apps/website/pages/docs/classes/discord-player/AudioFilters.mdx index acfd34e90..8ec574f8b 100644 --- a/apps/website/pages/docs/classes/discord-player/AudioFilters.mdx +++ b/apps/website/pages/docs/classes/discord-player/AudioFilters.mdx @@ -8,7 +8,7 @@ new AudioFilters() ## Properties ### public static filters: Record\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AudioFilters.ts#L10) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AudioFilters.ts#L10) ### public length: number ### public names: Array\ @@ -16,7 +16,7 @@ new AudioFilters() ## Methods ### public static \[iterator](): IterableIterator\<\{ name: keyof QueueFilters,value: string }> -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AudioFilters.ts#L55) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AudioFilters.ts#L55) ### public static create(filters?): string Create ffmpeg args from the specified filters name @@ -27,7 +27,7 @@ Create ffmpeg args from the specified filters name | filters | Array\ | ✅ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AudioFilters.ts#L79) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AudioFilters.ts#L79) ### public static define(filterName, value): void Defines audio filter @@ -39,7 +39,7 @@ Defines audio filter | value | string | ❌ | The ffmpeg args | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AudioFilters.ts#L92) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AudioFilters.ts#L92) ### public static defineBulk(filtersArray): void Defines multiple audio filters @@ -50,20 +50,20 @@ Defines multiple audio filters | filtersArray | Array\<\{ name: string,value: string }> | ❌ | Array of filters containing the filter name and ffmpeg args | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AudioFilters.ts#L100) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AudioFilters.ts#L100) ### public static get(name): Record\\[K] | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | name | K | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AudioFilters.ts#L47) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AudioFilters.ts#L47) ### public static has(name): boolean | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | name | K | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AudioFilters.ts#L51) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AudioFilters.ts#L51) ### public static toString(): string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AudioFilters.ts#L70) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AudioFilters.ts#L70) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/BaseExtractor.mdx b/apps/website/pages/docs/classes/discord-player/BaseExtractor.mdx index 5e09c514b..68a1de326 100644 --- a/apps/website/pages/docs/classes/discord-player/BaseExtractor.mdx +++ b/apps/website/pages/docs/classes/discord-player/BaseExtractor.mdx @@ -14,15 +14,15 @@ new BaseExtractor(context, options) ### public context: ExtractorExecutionContext Context that instantiated this extractor -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/BaseExtractor.ts#L20) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/BaseExtractor.ts#L20) ### public options: T Initialization options for this extractor -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/BaseExtractor.ts#L20) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/BaseExtractor.ts#L20) ### public static identifier: string Identifier for this extractor -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/BaseExtractor.ts#L13) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/BaseExtractor.ts#L13) ### public identifier: string Identifier of this extractor @@ -32,7 +32,7 @@ This method will be executed when this extractor is activated -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/BaseExtractor.ts#L42) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/BaseExtractor.ts#L42) ### public createResponse(playlist?, tracks): ExtractorInfo Create extractor response @@ -44,13 +44,13 @@ Create extractor response | tracks | Array\ | ❌ | The track array | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/BaseExtractor.ts#L114) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/BaseExtractor.ts#L114) ### public deactivate(): Promise\ This method will be executed when this extractor is deactivated -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/BaseExtractor.ts#L50) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/BaseExtractor.ts#L50) ### public debug(message): boolean Write debug message @@ -61,7 +61,7 @@ Write debug message | message | string | ❌ | The debug message | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/BaseExtractor.ts#L122) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/BaseExtractor.ts#L122) ### public emit(event, args): boolean Dispatch an event to the player @@ -73,7 +73,7 @@ Dispatch an event to the player | args | Parameters\ | ❌ | The data to dispatch | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/BaseExtractor.ts#L105) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/BaseExtractor.ts#L105) ### public getRelatedTracks(track): Promise\ Get related tracks for the given track @@ -84,7 +84,7 @@ Get related tracks for the given track | track | Track | ❌ | The track source | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/BaseExtractor.ts#L86) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/BaseExtractor.ts#L86) ### public handle(query, context): Promise\ Handle the given query @@ -96,7 +96,7 @@ Handle the given query | context | ExtractorSearchContext | ❌ | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/BaseExtractor.ts#L77) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/BaseExtractor.ts#L77) ### public handlePostStream(stream, next): void A stream middleware to handle streams before passing it to the player @@ -108,7 +108,7 @@ A stream middleware to handle streams before passing it to the player | next | NextFunction | ❌ | The next function | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/BaseExtractor.ts#L96) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/BaseExtractor.ts#L96) ### public reconfigure(options): Promise\ Reconfigures this extractor @@ -119,7 +119,7 @@ Reconfigures this extractor | options | T | ❌ | The new options to apply | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/BaseExtractor.ts#L33) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/BaseExtractor.ts#L33) ### public stream(info): Promise\ Stream the given track @@ -130,7 +130,7 @@ Stream the given track | info | Track | ❌ | The track to stream | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/BaseExtractor.ts#L68) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/BaseExtractor.ts#L68) ### public validate(query, type?): Promise\ Validate incoming query @@ -142,4 +142,4 @@ Validate incoming query | type | null \| SearchQueryType | ✅ | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/BaseExtractor.ts#L59) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/BaseExtractor.ts#L59) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/DiscordPlayerQueryResultCache.mdx b/apps/website/pages/docs/classes/discord-player/DiscordPlayerQueryResultCache.mdx index 201f6506e..5222a56ba 100644 --- a/apps/website/pages/docs/classes/discord-player/DiscordPlayerQueryResultCache.mdx +++ b/apps/website/pages/docs/classes/discord-player/DiscordPlayerQueryResultCache.mdx @@ -12,10 +12,10 @@ new DiscordPlayerQueryResultCache(data, expireAfter) ## Properties ### public data: T -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/QueryCache.ts#L74) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/QueryCache.ts#L74) ### public expireAfter: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/QueryCache.ts#L73) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/QueryCache.ts#L73) ## Methods ### public hasExpired(): boolean -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/QueryCache.ts#L80) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/QueryCache.ts#L80) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/ExtractorExecutionContext.mdx b/apps/website/pages/docs/classes/discord-player/ExtractorExecutionContext.mdx index b3c81c55f..7712c44b1 100644 --- a/apps/website/pages/docs/classes/discord-player/ExtractorExecutionContext.mdx +++ b/apps/website/pages/docs/classes/discord-player/ExtractorExecutionContext.mdx @@ -11,11 +11,11 @@ new ExtractorExecutionContext(player) ## Properties ### public player: Player -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/ExtractorExecutionContext.ts#L55) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/ExtractorExecutionContext.ts#L55) ### public requiredEvents: Array\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/PlayerEventsEmitter.ts#L7) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/PlayerEventsEmitter.ts#L7) ### public store: Collection\> -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/ExtractorExecutionContext.ts#L54) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/ExtractorExecutionContext.ts#L54) ### public static defaultMaxListeners: number ### public size: number @@ -34,7 +34,7 @@ The size of registered extractors | args | Parameters\ | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/PlayerEventsEmitter.ts#L11) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/PlayerEventsEmitter.ts#L11) ### public eventNames(): Array\ ### public get(identifier): undefined \| BaseExtractor\ @@ -47,7 +47,7 @@ Get single extractor | identifier | string | ❌ | The extractor to get | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/ExtractorExecutionContext.ts#L93) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/ExtractorExecutionContext.ts#L93) ### public getMaxListeners(): number ### public isRegistered(identifier): boolean @@ -60,7 +60,7 @@ Validate if the given extractor is registered | identifier | string | ❌ | The extractor identifier | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/ExtractorExecutionContext.ts#L78) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/ExtractorExecutionContext.ts#L78) ### public listenerCount(type): number | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -74,7 +74,7 @@ Load default extractors from `@discord-player/extractor` -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/ExtractorExecutionContext.ts#L62) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/ExtractorExecutionContext.ts#L62) ### public off(event, listener): ExtractorExecutionContext | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -115,7 +115,7 @@ Register single extractor | options | ConstructorParameters\\['1'] | ❌ | Options supplied to the extractor | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/ExtractorExecutionContext.ts#L102) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/ExtractorExecutionContext.ts#L102) ### public removeAllListeners(event?): ExtractorExecutionContext | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -136,7 +136,7 @@ Run all the extractors | filterBlocked | boolean | ❌ | Filter blocked extractors | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/ExtractorExecutionContext.ts#L158) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/ExtractorExecutionContext.ts#L158) ### public setMaxListeners(n): ExtractorExecutionContext | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -151,10 +151,10 @@ Unregister single extractor | _extractor | K | ❌ | The extractor to unregister | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/ExtractorExecutionContext.ts#L124) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/ExtractorExecutionContext.ts#L124) ### public unregisterAll(): Promise\ Unregister all extractors -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/ExtractorExecutionContext.ts#L145) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/ExtractorExecutionContext.ts#L145) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/FFmpeg.mdx b/apps/website/pages/docs/classes/discord-player/FFmpeg.mdx index 88728ce21..12a576177 100644 --- a/apps/website/pages/docs/classes/discord-player/FFmpeg.mdx +++ b/apps/website/pages/docs/classes/discord-player/FFmpeg.mdx @@ -13,11 +13,11 @@ new FFmpeg(options) ### public process: ChildProcessWithoutNullStreams Current FFmpeg process -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/FFmpeg.ts#L140) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/FFmpeg.ts#L140) ### public static VersionRegex: RegExp FFmpeg version regex -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/FFmpeg.ts#L63) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/FFmpeg.ts#L63) ### public _reader: Readable ### public _writer: Writable @@ -31,22 +31,22 @@ FFmpeg version regex | cb | Callback\<\[null \| Error]> | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/FFmpeg.ts#L209) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/FFmpeg.ts#L209) ### public _final(cb): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | cb | Callback\<\[]> | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/FFmpeg.ts#L214) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/FFmpeg.ts#L214) ### public toString(): string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/FFmpeg.ts#L229) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/FFmpeg.ts#L229) ### public static isAvailable(): boolean Check if ffmpeg is available -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/FFmpeg.ts#L78) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/FFmpeg.ts#L78) ### public static locate(force): undefined \| FFmpegInfo Locate ffmpeg command. Throws error if ffmpeg is not found. @@ -57,7 +57,7 @@ Locate ffmpeg command. Throws error if ffmpeg is not found. | force | boolean | ❌ | Forcefully reload | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/FFmpeg.ts#L98) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/FFmpeg.ts#L98) ### public static locateSafe(force): undefined \| null \| FFmpegInfo Safe locate ffmpeg @@ -68,7 +68,7 @@ Safe locate ffmpeg | force | boolean | ❌ | if it should relocate the command | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/FFmpeg.ts#L86) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/FFmpeg.ts#L86) ### public static spawn(options): ChildProcessWithoutNullStreams Spawns ffmpeg process @@ -79,4 +79,4 @@ Spawns ffmpeg process | options | \{ args: undefined \| Array\,shell: undefined \| boolean } | ❌ | Spawn options | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/FFmpeg.ts#L69) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/FFmpeg.ts#L69) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/FFmpegFilterer.mdx b/apps/website/pages/docs/classes/discord-player/FFmpegFilterer.mdx index ee680982d..d6bfa369b 100644 --- a/apps/website/pages/docs/classes/discord-player/FFmpegFilterer.mdx +++ b/apps/website/pages/docs/classes/discord-player/FFmpegFilterer.mdx @@ -11,7 +11,7 @@ new FFmpegFilterer(af) ## Properties ### public af: GuildQueueAudioFilters\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L45) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L45) ### public filters: Array\ Currently active ffmpeg filters @@ -27,19 +27,19 @@ Create ffmpeg stream | options | FFmpegStreamOptions | ❌ | The stream options | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L65) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L65) ### public getFiltersDisabled(): Array\ Get list of disabled filters -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L133) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L133) ### public getFiltersEnabled(): Array\ Get list of enabled filters -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L126) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L126) ### public isDisabled(filter): boolean Check if the given filter is disabled @@ -50,7 +50,7 @@ Check if the given filter is disabled | filter | T | ❌ | The filter | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L149) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L149) ### public isEnabled(filter): boolean Check if the given filter is enabled @@ -61,7 +61,7 @@ Check if the given filter is enabled | filter | T | ❌ | The filter | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L141) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L141) ### public isValidFilter(filter): filter is keyof QueueFilters Check if the given filter is a valid filter @@ -72,7 +72,7 @@ Check if the given filter is a valid filter | filter | string | ❌ | The filter to test | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L157) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L157) ### public setDefaults(ff): void Set default filters @@ -83,7 +83,7 @@ Set default filters | ff | Array\ | ❌ | Filters list | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L119) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L119) ### public setFilters(filters): Promise\ Set ffmpeg filters @@ -94,25 +94,25 @@ Set ffmpeg filters | filters | boolean \| Array\ \| Record\ | ❌ | The filters | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L73) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L73) ### public toArray(): Array\ Convert current filters to array -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L164) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L164) ### public toJSON(): Record\ Convert current filters to JSON object -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L171) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L171) ### public toString(): string String representation of current filters -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L182) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L182) ### public toggle(filters): Promise\ Toggle given ffmpeg filter(s) @@ -123,4 +123,4 @@ Toggle given ffmpeg filter(s) | filters | keyof QueueFilters \| Array\ | ❌ | The filter(s) | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L103) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L103) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/GuildNodeManager.mdx b/apps/website/pages/docs/classes/discord-player/GuildNodeManager.mdx index 5b1b645d2..0b3d83bb5 100644 --- a/apps/website/pages/docs/classes/discord-player/GuildNodeManager.mdx +++ b/apps/website/pages/docs/classes/discord-player/GuildNodeManager.mdx @@ -11,9 +11,9 @@ new GuildNodeManager(player) ## Properties ### public cache: Collection\> -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildNodeManager.ts#L38) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildNodeManager.ts#L38) ### public player: Player -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildNodeManager.ts#L39) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildNodeManager.ts#L39) ## Methods ### public create(guild, options): GuildQueue\ @@ -27,7 +27,7 @@ Create guild queue if it does not exist | options | GuildNodeCreateOptions\ | ❌ | Queue initializer options | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildNodeManager.ts#L46) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildNodeManager.ts#L46) ### public delete(node): boolean Delete queue @@ -38,7 +38,7 @@ Delete queue | node | NodeResolvable | ❌ | Queue resolvable | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildNodeManager.ts#L137) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildNodeManager.ts#L137) ### public get(node): null \| GuildQueue\ Get existing queue @@ -49,7 +49,7 @@ Get existing queue | node | NodeResolvable | ❌ | Queue resolvable | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildNodeManager.ts#L117) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildNodeManager.ts#L117) ### public has(node): boolean Check if a queue exists @@ -60,7 +60,7 @@ Check if a queue exists | node | NodeResolvable | ❌ | Queue resolvable | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildNodeManager.ts#L128) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildNodeManager.ts#L128) ### public resolve(node): undefined \| GuildQueue\ Resolve queue @@ -71,7 +71,7 @@ Resolve queue | node | NodeResolvable | ❌ | Queue resolvable | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildNodeManager.ts#L156) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildNodeManager.ts#L156) ### public resolveId(node): null \| string Resolve queue id @@ -82,4 +82,4 @@ Resolve queue id | node | NodeResolvable | ❌ | Queue resolvable | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildNodeManager.ts#L168) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildNodeManager.ts#L168) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/GuildQueue.mdx b/apps/website/pages/docs/classes/discord-player/GuildQueue.mdx index 7d7a48bb7..95dd9bfba 100644 --- a/apps/website/pages/docs/classes/discord-player/GuildQueue.mdx +++ b/apps/website/pages/docs/classes/discord-player/GuildQueue.mdx @@ -12,31 +12,31 @@ new GuildQueue(player, options) ## Properties ### public dispatcher: null \| StreamDispatcher -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L306) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L306) ### public filters: GuildQueueAudioFilters\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L308) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L308) ### public history: GuildQueueHistory\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L305) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L305) ### public node: GuildQueuePlayerNode\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L307) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L307) ### public onAfterCreateStream: OnAfterCreateStreamHandler -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L310) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L310) ### public onBeforeCreateStream: OnBeforeCreateStreamHandler -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L309) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L309) ### public options: GuildNodeInit\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L319) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L319) ### public player: Player -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L319) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L319) ### public repeatMode: QueueRepeatMode -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L314) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L314) ### public stats: GuildQueueStatistics\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L316) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L316) ### public tasksQueue: AsyncQueue -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L317) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L317) ### public timeouts: Collection\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L315) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L315) ### public tracks: Queue\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L304) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L304) ### public channel: null \| VoiceBasedChannel The voice channel of this queue ### public connection: null \| VoiceConnection @@ -73,13 +73,13 @@ Add track to the queue. This will emit `audioTracksAdd` when multiple tracks are | track | Track \| Playlist \| Array\ | ❌ | Track or playlist or array of tracks to add | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L513) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L513) ### public clear(): void Clear this queue -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L490) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L490) ### public connect(channelResolvable, options): Promise\> Connect to a voice channel @@ -91,7 +91,7 @@ Connect to a voice channel | options | VoiceConnectConfig | ❌ | Join config | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L574) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L574) ### public copyTrack(track, index): void Copy a track in the queue @@ -103,7 +103,7 @@ Copy a track in the queue | index | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L556) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L556) ### public debug(m): void Write a debug message to this queue @@ -114,19 +114,19 @@ Write a debug message to this queue | m | string | ❌ | The message to write | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L375) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L375) ### public delete(): void Delete this queue -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L618) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L618) ### public getSize(): number The size of this queue -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L483) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L483) ### public insertTrack(track, index): void Inserts the track to the given index @@ -138,25 +138,25 @@ Inserts the track to the given index | index | number | ❌ | The index to insert the track at (defaults to 0) | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L538) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L538) ### public isEmpty(): boolean Check if this queue has no tracks left in it -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L498) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L498) ### public isPlaying(): boolean Check if this queue currently holds active audio resource -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L505) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L505) ### public isTransitioning(): boolean if this queue is currently under transition mode -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L461) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L461) ### public moveTrack(track, index): void Moves a track in the queue @@ -168,7 +168,7 @@ Moves a track in the queue | index | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L547) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L547) ### public removeTrack(track): null \| Track Remove a track from queue @@ -179,13 +179,13 @@ Remove a track from queue | track | TrackResolvable | ❌ | The track to remove | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L529) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L529) ### public revive(): void Revives this queue -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L628) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L628) ### public setMetadata(m): void Set metadata for this queue @@ -196,7 +196,7 @@ Set metadata for this queue | m | Meta | ❌ | Metadata to set | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L394) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L394) ### public setRepeatMode(mode): void Set repeat mode for this queue @@ -207,7 +207,7 @@ Set repeat mode for this queue | mode | QueueRepeatMode | ❌ | The repeat mode to apply | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L469) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L469) ### public setSelfDeaf(mode?, reason?): Promise\ Set self deaf @@ -219,7 +219,7 @@ Set self deaf | reason | string | ✅ | Reason | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L639) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L639) ### public setSelfMute(mode?, reason?): Promise\ Set self mute @@ -231,7 +231,7 @@ Set self mute | reason | string | ✅ | Reason | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L648) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L648) ### public setTransitioning(state): void Set transition mode for this queue @@ -242,7 +242,7 @@ Set transition mode for this queue | state | boolean | ❌ | The state to set | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L454) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L454) ### public swapTracks(src, dest): void Swap two tracks in the queue @@ -254,4 +254,4 @@ Swap two tracks in the queue | dest | TrackResolvable | ❌ | The second track to swap | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L565) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L565) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/GuildQueueAudioFilters.mdx b/apps/website/pages/docs/classes/discord-player/GuildQueueAudioFilters.mdx index 316e7e3f9..6968aa711 100644 --- a/apps/website/pages/docs/classes/discord-player/GuildQueueAudioFilters.mdx +++ b/apps/website/pages/docs/classes/discord-player/GuildQueueAudioFilters.mdx @@ -11,15 +11,15 @@ new GuildQueueAudioFilters(queue) ## Properties ### public _lastFiltersCache: GuildQueueAFiltersCache -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L199) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L199) ### public equalizerPresets: \{ Classical: Array\,Club: Array\,Dance: Array\,Flat: Array\,FullBass: Array\,FullBassTreble: Array\,FullTreble: Array\,Headphones: Array\,LargeHall: Array\,Live: Array\,Party: Array\,Pop: Array\,Reggae: Array\,Rock: Array\,Ska: Array\,Soft: Array\,SoftRock: Array\,Techno: Array\ } -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L198) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L198) ### public ffmpeg: FFmpegFilterer\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L197) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L197) ### public graph: AFilterGraph\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L196) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L196) ### public queue: GuildQueue\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L206) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L206) ### public biquad: null \| BiquadStream Digital biquad filters ### public equalizer: null \| EqualizerStream @@ -42,4 +42,4 @@ Replay current track in transition mode | seek | number | ❌ | The duration to seek to | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L251) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L251) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/GuildQueueHistory.mdx b/apps/website/pages/docs/classes/discord-player/GuildQueueHistory.mdx index 43f6e62eb..340a5080a 100644 --- a/apps/website/pages/docs/classes/discord-player/GuildQueueHistory.mdx +++ b/apps/website/pages/docs/classes/discord-player/GuildQueueHistory.mdx @@ -11,9 +11,9 @@ new GuildQueueHistory(queue) ## Properties ### public queue: GuildQueue\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueHistory.ts#L7) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueHistory.ts#L7) ### public tracks: Queue\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueHistory.ts#L6) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueHistory.ts#L6) ### public currentTrack: null \| Track Current track in the queue ### public disabled: boolean @@ -31,27 +31,27 @@ Alias to [GuildQueueHistory].previous() -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueHistory.ts#L103) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueHistory.ts#L103) ### public clear(): void Clear history -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueHistory.ts#L69) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueHistory.ts#L69) ### public getSize(): number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueHistory.ts#L45) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueHistory.ts#L45) ### public isEmpty(): boolean If history is empty -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueHistory.ts#L52) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueHistory.ts#L52) ### public next(): Promise\ Play the next track in the queue -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueHistory.ts#L76) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueHistory.ts#L76) ### public previous(preserveCurrent): Promise\ Play the previous track in the queue @@ -62,7 +62,7 @@ Play the previous track in the queue | preserveCurrent | boolean | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueHistory.ts#L88) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueHistory.ts#L88) ### public push(track): boolean Add track to track history @@ -73,4 +73,4 @@ Add track to track history | track | Track \| Array\ | ❌ | The track to add | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueHistory.ts#L60) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueHistory.ts#L60) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/GuildQueuePlayerNode.mdx b/apps/website/pages/docs/classes/discord-player/GuildQueuePlayerNode.mdx index 8d051cdf9..efd2ef9e2 100644 --- a/apps/website/pages/docs/classes/discord-player/GuildQueuePlayerNode.mdx +++ b/apps/website/pages/docs/classes/discord-player/GuildQueuePlayerNode.mdx @@ -11,9 +11,9 @@ new GuildQueuePlayerNode(queue) ## Properties ### public queue: GuildQueue\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L34) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L34) ### public tasksQueue: AsyncQueue -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L33) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L33) ### public estimatedDuration: number Estimated total duration of the player ### public estimatedPlaybackTime: number @@ -37,7 +37,7 @@ Copy a track in the queue | to | number | ❌ | The position to clone at | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L334) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L334) ### public createProgressBar(options?): null \| string Create progress bar for current progress @@ -48,13 +48,13 @@ Create progress bar for current progress | options | PlayerProgressbarOptions | ✅ | Progress bar options | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L152) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L152) ### public getDurationMultiplier(): number Get duration multiplier -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L97) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L97) ### public getTimestamp(ignoreFilters): null \| PlayerTimestamp Get stream progress @@ -65,7 +65,7 @@ Get stream progress | ignoreFilters | boolean | ❌ | Ignore filters | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L129) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L129) ### public getTrackPosition(track): number Get track position @@ -76,7 +76,7 @@ Get track position | track | TrackResolvable | ❌ | The track | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L282) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L282) ### public insert(track, index): void Insert a track on the given position in queue @@ -88,31 +88,31 @@ Insert a track on the given position in queue | index | number | ❌ | The position to insert to, defaults to 0. | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L312) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L312) ### public isBuffering(): boolean If the player is currently buffering the track -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L46) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L46) ### public isIdle(): boolean If the player is currently in idle mode -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L39) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L39) ### public isPaused(): boolean If the player is currently paused -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L60) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L60) ### public isPlaying(): boolean If the player is currently playing a track -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L53) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L53) ### public jump(track): boolean Jump to specific track on the queue @@ -123,7 +123,7 @@ Jump to specific track on the queue | track | TrackResolvable | ❌ | The track to jump to without removing other tracks | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L271) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L271) ### public move(from, to): void Moves a track in the queue @@ -135,13 +135,13 @@ Moves a track in the queue | to | number | ❌ | The position to move to | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L323) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L323) ### public pause(): boolean Pause the playback -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L225) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L225) ### public play(res?, options?): Promise\ Play the given track @@ -153,7 +153,7 @@ Play the given track | options | ResourcePlayOptions | ✅ | Options for playing the track | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L394) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L394) ### public playRaw(resource): Promise\ Play raw audio resource @@ -164,7 +164,7 @@ Play raw audio resource | resource | AudioResource\ | ❌ | The audio resource to play | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L385) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L385) ### public remove(track): null \| Track Remove the given track from queue @@ -175,19 +175,19 @@ Remove the given track from queue | track | TrackResolvable | ❌ | The track to remove | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L250) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L250) ### public resetProgress(): void Reset progress history -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L67) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L67) ### public resume(): boolean Resume the playback -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L232) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L232) ### public seek(duration): Promise\ Seek the player @@ -198,7 +198,7 @@ Seek the player | duration | number | ❌ | The duration to seek to | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L182) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L182) ### public setBitrate(rate): void Set bit rate @@ -209,7 +209,7 @@ Set bit rate | rate | number \| 'auto' | ❌ | The bit rate to set | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L209) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L209) ### public setPaused(state): boolean Set paused state @@ -220,7 +220,7 @@ Set paused state | state | boolean | ❌ | The state | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L217) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L217) ### public setProgress(progress): void Set player progress @@ -231,7 +231,7 @@ Set player progress | progress | number | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L74) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L74) ### public setVolume(vol): boolean Set volume @@ -242,13 +242,13 @@ Set volume | vol | number | ❌ | Volume amount to set | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L198) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L198) ### public skip(): boolean Skip current track -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L239) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L239) ### public skipTo(track): boolean Skip to the given track, removing others on the way @@ -259,7 +259,7 @@ Skip to the given track, removing others on the way | track | TrackResolvable | ❌ | The track to skip to | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L296) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L296) ### public stop(force): boolean Stop the playback @@ -270,7 +270,7 @@ Stop the playback | force | boolean | ❌ | Whether or not to forcefully stop the playback | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L363) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L363) ### public swap(first, second): void Swap two tracks in the queue @@ -282,4 +282,4 @@ Swap two tracks in the queue | second | TrackResolvable | ❌ | The second track to swap | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L345) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L345) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/Player.mdx b/apps/website/pages/docs/classes/discord-player/Player.mdx index 61233bdba..a4ee9c0e5 100644 --- a/apps/website/pages/docs/classes/discord-player/Player.mdx +++ b/apps/website/pages/docs/classes/discord-player/Player.mdx @@ -12,27 +12,27 @@ new Player(client, options) ## Properties ### public client: Client\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L32) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L32) ### public events: PlayerEventsEmitter\> -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L37) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L37) ### public extractors: ExtractorExecutionContext -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L36) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L36) ### public id: string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L31) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L31) ### public nodes: GuildNodeManager\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L34) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L34) ### public options: PlayerInitOptions -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L33) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L33) ### public requiredEvents: Array\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/PlayerEventsEmitter.ts#L7) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/PlayerEventsEmitter.ts#L7) ### public voiceUtils: VoiceUtils -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L35) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L35) ### public static _singletonKey: symbol -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L30) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L30) ### public static defaultMaxListeners: number ### public static version: string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L29) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L29) ### public eventLoopLag: number Event loop latency in ms. If your bot is laggy and this returns a number above 20ms for example, some expensive task is being executed on the current thread which is slowing down the event loop. @@ -43,7 +43,7 @@ Alias to `Player.nodes`. ## Methods ### public \[iterator](): Generator\, void, undefined> -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L624) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L624) ### public addListener(event, listener): Player | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -59,14 +59,14 @@ Creates `Playlist` instance | data | PlaylistInitData | ❌ | The data to initialize a playlist | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L632) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L632) ### public debug(m): boolean | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | m | string | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L105) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L105) ### public destroy(): Promise\ Destroy every single queues managed by this master player instance @@ -75,7 +75,7 @@ Destroy every single queues managed by this master player instance await player.destroy(); ``` -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L195) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L195) ### public emit(name, args): boolean | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -83,7 +83,7 @@ await player.destroy(); | args | Parameters\ | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/PlayerEventsEmitter.ts#L11) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/PlayerEventsEmitter.ts#L11) ### public eventNames(): Array\ ### public generateStatistics(): \{ instances: number,queryCacheEnabled: boolean,queues: Array\,queuesCount: number } @@ -108,7 +108,7 @@ console.log(stats); // } ``` -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L179) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L179) ### public getMaxListeners(): number ### public handleVoiceState(oldState, newState): void @@ -129,13 +129,13 @@ client.on('voiceStateUpdate', (oldState, newState) => { | newState | VoiceState | ❌ | The new voice state | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L309) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L309) ### public isVoiceStateHandlerLocked(): boolean Checks if voice state handler is locked. -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L330) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L330) ### public listenerCount(type): number | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -149,7 +149,7 @@ Lock voice state handler. When this method is called, discord-player will keep u -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L316) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L316) ### public off(event, listener): Player | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -187,7 +187,7 @@ try { | options | SearchOptions & \{ afterSearch: (result: SearchResult) => Promise\,connectionOptions: VoiceConnectConfig,nodeOptions: GuildNodeCreateOptions\ } | ❌ | Options for player | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L351) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L351) ### public prependListener(event, listener): Player | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -219,7 +219,7 @@ console.log(player.scanDeps()); // -> logs dependencies report ``` -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L593) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L593) ### public search(query, options): Promise\ Search tracks @@ -236,7 +236,7 @@ console.log(result); // Logs `SearchResult` object | options | SearchOptions | ❌ | The search options | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L413) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L413) ### public setMaxListeners(n): Player | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -246,19 +246,19 @@ Unlock voice state handler. When this method is called, discord-player will stop -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L323) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L323) ### public static clearAllPlayers(): void Clear all master player instances -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L131) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L131) ### public static getAllPlayers(): Array\ Get all active master player instances -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L124) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L124) ### public static singleton(client, options): Player Creates discord-player singleton instance. @@ -270,4 +270,4 @@ Creates discord-player singleton instance. | options | PlayerInitOptions | ❌ | Player initializer options | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L114) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L114) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/PlayerError.mdx b/apps/website/pages/docs/classes/discord-player/PlayerError.mdx index 85e7ad701..479f8c979 100644 --- a/apps/website/pages/docs/classes/discord-player/PlayerError.mdx +++ b/apps/website/pages/docs/classes/discord-player/PlayerError.mdx @@ -12,18 +12,18 @@ new PlayerError(message, code) ## Properties ### public createdAt: Date -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/PlayerError.ts#L21) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/PlayerError.ts#L21) ### public message: string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/PlayerError.ts#L19) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/PlayerError.ts#L19) ### public statusCode: ErrorStatusCode -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/PlayerError.ts#L20) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/PlayerError.ts#L20) ### public createdTimestamp: number ## Methods ### public toJSON(): \{ code: ErrorStatusCode,created: number,message: string,stack: undefined \| string } -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/PlayerError.ts#L41) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/PlayerError.ts#L41) ### public toString(): undefined \| string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/PlayerError.ts#L50) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/PlayerError.ts#L50) ### public valueOf(): ErrorStatusCode -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/PlayerError.ts#L37) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/PlayerError.ts#L37) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/PlayerEventsEmitter.mdx b/apps/website/pages/docs/classes/discord-player/PlayerEventsEmitter.mdx index 24e44ebf8..bfe24844f 100644 --- a/apps/website/pages/docs/classes/discord-player/PlayerEventsEmitter.mdx +++ b/apps/website/pages/docs/classes/discord-player/PlayerEventsEmitter.mdx @@ -11,7 +11,7 @@ new PlayerEventsEmitter(requiredEvents) ## Properties ### public requiredEvents: Array\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/PlayerEventsEmitter.ts#L7) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/PlayerEventsEmitter.ts#L7) ### public static defaultMaxListeners: number @@ -28,7 +28,7 @@ new PlayerEventsEmitter(requiredEvents) | args | Parameters\ | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/PlayerEventsEmitter.ts#L11) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/PlayerEventsEmitter.ts#L11) ### public eventNames(): Array\ ### public getMaxListeners(): number diff --git a/apps/website/pages/docs/classes/discord-player/Playlist.mdx b/apps/website/pages/docs/classes/discord-player/Playlist.mdx index 847d49f97..9a3f2c23e 100644 --- a/apps/website/pages/docs/classes/discord-player/Playlist.mdx +++ b/apps/website/pages/docs/classes/discord-player/Playlist.mdx @@ -12,27 +12,27 @@ new Playlist(player, data) ## Properties ### public author: \{ name: string,url: string } -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Playlist.ts#L14) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Playlist.ts#L14) ### public description: string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Playlist.ts#L10) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Playlist.ts#L10) ### public id: string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Playlist.ts#L18) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Playlist.ts#L18) ### public player: Player -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Playlist.ts#L7) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Playlist.ts#L7) ### public rawPlaylist: any -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Playlist.ts#L20) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Playlist.ts#L20) ### public source: TrackSource -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Playlist.ts#L13) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Playlist.ts#L13) ### public thumbnail: string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Playlist.ts#L11) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Playlist.ts#L11) ### public title: string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Playlist.ts#L9) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Playlist.ts#L9) ### public tracks: Array\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Playlist.ts#L8) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Playlist.ts#L8) ### public type: 'playlist' \| 'album' -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Playlist.ts#L12) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Playlist.ts#L12) ### public url: string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Playlist.ts#L19) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Playlist.ts#L19) ### public durationFormatted: string Formatted estimated duration of this playlist ### public estimatedDuration: number @@ -40,7 +40,7 @@ Estimated duration of this playlist ## Methods ### public \[iterator](): Generator\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Playlist.ts#L111) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Playlist.ts#L111) ### public toJSON(withTracks?): PlaylistJSON JSON representation of this playlist @@ -51,4 +51,4 @@ JSON representation of this playlist | withTracks | boolean | ✅ | If it should build json with tracks | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Playlist.ts#L134) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Playlist.ts#L134) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/QueryCache.mdx b/apps/website/pages/docs/classes/discord-player/QueryCache.mdx index 17628210e..b3be11188 100644 --- a/apps/website/pages/docs/classes/discord-player/QueryCache.mdx +++ b/apps/website/pages/docs/classes/discord-player/QueryCache.mdx @@ -12,11 +12,11 @@ new QueryCache(player, options) ## Properties ### public options: QueryCacheOptions -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/QueryCache.ts#L19) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/QueryCache.ts#L19) ### public player: Player -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/QueryCache.ts#L18) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/QueryCache.ts#L18) ### public timer: Timer -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/QueryCache.ts#L16) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/QueryCache.ts#L16) ### public checkInterval: number @@ -27,17 +27,17 @@ new QueryCache(player, options) | data | SearchResult | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/QueryCache.ts#L46) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/QueryCache.ts#L46) ### public cleanup(): Promise\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/QueryCache.ts#L30) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/QueryCache.ts#L30) ### public clear(): Promise\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/QueryCache.ts#L38) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/QueryCache.ts#L38) ### public getData(): Promise\>> -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/QueryCache.ts#L42) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/QueryCache.ts#L42) ### public resolve(context): Promise\ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | context | QueryCacheResolverContext | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/QueryCache.ts#L53) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/QueryCache.ts#L53) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/QueryResolver.mdx b/apps/website/pages/docs/classes/discord-player/QueryResolver.mdx index 49c6ea8fe..0c3a604da 100644 --- a/apps/website/pages/docs/classes/discord-player/QueryResolver.mdx +++ b/apps/website/pages/docs/classes/discord-player/QueryResolver.mdx @@ -17,7 +17,7 @@ Parses vimeo id from url | query | string | ❌ | The query | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/QueryResolver.ts#L73) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/QueryResolver.ts#L73) ### public static resolve(query, fallbackSearchEngine): 'auto' \| 'youtube' \| 'youtubePlaylist' \| 'soundcloudTrack' \| 'soundcloudPlaylist' \| 'soundcloud' \| 'spotifySong' \| 'spotifyAlbum' \| 'spotifyPlaylist' \| 'spotifySearch' \| 'facebook' \| 'vimeo' \| 'arbitrary' \| 'reverbnation' \| 'youtubeSearch' \| 'youtubeVideo' \| 'soundcloudSearch' \| 'appleMusicSong' \| 'appleMusicAlbum' \| 'appleMusicPlaylist' \| 'appleMusicSearch' \| 'file' \| 'autoSearch' Resolves the given search query @@ -29,18 +29,18 @@ Resolves the given search query | fallbackSearchEngine | 'auto' \| 'youtube' \| 'youtubePlaylist' \| 'soundcloudTrack' \| 'soundcloudPlaylist' \| 'soundcloud' \| 'spotifySong' \| 'spotifyAlbum' \| 'spotifyPlaylist' \| 'spotifySearch' \| 'facebook' \| 'vimeo' \| 'arbitrary' \| 'reverbnation' \| 'youtubeSearch' \| 'youtubeVideo' \| 'soundcloudSearch' \| 'appleMusicSong' \| 'appleMusicAlbum' \| 'appleMusicPlaylist' \| 'appleMusicSearch' \| 'file' \| 'autoSearch' | ❌ | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/QueryResolver.ts#L44) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/QueryResolver.ts#L44) ### public static validateId(q): boolean | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | q | string | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/QueryResolver.ts#L82) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/QueryResolver.ts#L82) ### public static validateURL(q): boolean | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | q | string | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/QueryResolver.ts#L86) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/QueryResolver.ts#L86) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/SearchResult.mdx b/apps/website/pages/docs/classes/discord-player/SearchResult.mdx index ab242201f..f3c223519 100644 --- a/apps/website/pages/docs/classes/discord-player/SearchResult.mdx +++ b/apps/website/pages/docs/classes/discord-player/SearchResult.mdx @@ -12,7 +12,7 @@ new SearchResult(player, _data) ## Properties ### public player: Player -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/SearchResult.ts#L18) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/SearchResult.ts#L18) ### public extractor: null \| BaseExtractor\ The extractor ### public playlist: undefined \| null \| Playlist @@ -32,70 +32,70 @@ Re-execute this search -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/SearchResult.ts#L106) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/SearchResult.ts#L106) ### public hasPlaylist(): boolean If this search result has playlist -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/SearchResult.ts#L123) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/SearchResult.ts#L123) ### public hasTracks(): boolean If this search result has tracks -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/SearchResult.ts#L130) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/SearchResult.ts#L130) ### public isEmpty(): boolean If this search result is empty -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/SearchResult.ts#L116) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/SearchResult.ts#L116) ### public setExtractor(extractor): SearchResult | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | extractor | BaseExtractor\ | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/SearchResult.ts#L38) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/SearchResult.ts#L38) ### public setPlaylist(playlist): SearchResult | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | playlist | Playlist | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/SearchResult.ts#L56) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/SearchResult.ts#L56) ### public setQuery(query): SearchResult | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | query | string | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/SearchResult.ts#L51) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/SearchResult.ts#L51) ### public setQueryType(type): SearchResult | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | type | SearchQueryType \| ext:\$\{string} | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/SearchResult.ts#L25) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/SearchResult.ts#L25) ### public setRequestedBy(user): SearchResult | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | user | User | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/SearchResult.ts#L30) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/SearchResult.ts#L30) ### public setTracks(tracks): SearchResult | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | tracks | Array\ | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/SearchResult.ts#L46) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/SearchResult.ts#L46) ### public toJSON(): \{ extractor: null \| string,playlist: null \| PlaylistJSON,query: string,queryType: SearchQueryType \| ext:\$\{string},requestedBy: null \| Object,tracks: Array\ } JSON representation of this search -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/SearchResult.ts#L137) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/SearchResult.ts#L137) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/StreamDispatcher.mdx b/apps/website/pages/docs/classes/discord-player/StreamDispatcher.mdx index 93bd418f7..cf6262325 100644 --- a/apps/website/pages/docs/classes/discord-player/StreamDispatcher.mdx +++ b/apps/website/pages/docs/classes/discord-player/StreamDispatcher.mdx @@ -4,21 +4,21 @@ ## Properties ### public audioPlayer: AudioPlayer -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L70) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L70) ### public audioResource: null \| AudioResource\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L73) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L73) ### public channel: StageChannel \| VoiceChannel -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L72) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L72) ### public connectionTimeout: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L83) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L83) ### public dsp: FiltersChain -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L75) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L75) ### public queue: GuildQueue\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L83) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L83) ### public receiver: VoiceReceiverNode -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L71) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L71) ### public voiceConnection: VoiceConnection -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L69) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L69) ### public static defaultMaxListeners: number ### public biquad: null \| BiquadStream @@ -55,13 +55,13 @@ Creates stream | ops | CreateStreamOps | ✅ | Options | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L283) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L283) ### public disconnect(): void Disconnects from voice -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L360) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L360) ### public emit(event, args): boolean | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -72,7 +72,7 @@ Stops the player -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L371) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L371) ### public eventNames(): Array\ ### public getMaxListeners(): number @@ -82,55 +82,55 @@ Whether or not the player is currently buffering -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L224) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L224) ### public isConnecting(): boolean Whether or not the voice connection is connecting -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L273) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L273) ### public isDestroyed(): boolean Whether or not the voice connection has been destroyed -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L245) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L245) ### public isDisconnected(): boolean Whether or not the voice connection has been destroyed -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L252) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L252) ### public isIdle(): boolean Whether or not the player is currently idle -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L238) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L238) ### public isPaused(): boolean Whether or not the player is currently paused automatically or manually. -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L217) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L217) ### public isPlaying(): boolean Whether or not the player is currently playing -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L231) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L231) ### public isReady(): boolean Whether or not the voice connection is ready to play -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L259) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L259) ### public isSignalling(): boolean Whether or not the voice connection is signalling -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L266) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L266) ### public listenerCount(type): number | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -164,7 +164,7 @@ Pauses the stream playback | interpolateSilence | boolean | ✅ | If true, the player will play 5 packets of silence after pausing to prevent audio glitches. | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L384) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L384) ### public playStream(resource?): Promise\ Play stream @@ -175,7 +175,7 @@ Play stream | resource | AudioResource\ | ✅ | The audio resource to play | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L403) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L403) ### public prependListener(event, listener): StreamDispatcher | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -204,7 +204,7 @@ Resumes the stream playback -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L393) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L393) ### public setMaxListeners(n): StreamDispatcher | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -219,4 +219,4 @@ Sets playback volume | value | number | ❌ | The volume amount | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L431) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L431) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/Track.mdx b/apps/website/pages/docs/classes/discord-player/Track.mdx index a52d4357f..1a1db1d05 100644 --- a/apps/website/pages/docs/classes/discord-player/Track.mdx +++ b/apps/website/pages/docs/classes/discord-player/Track.mdx @@ -12,33 +12,33 @@ new Track(player, data) ## Properties ### public author: string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Track.ts#L14) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Track.ts#L14) ### public description: string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Track.ts#L13) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Track.ts#L13) ### public duration: string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Track.ts#L17) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Track.ts#L17) ### public extractor: null \| BaseExtractor\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Track.ts#L25) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Track.ts#L25) ### public id: string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Track.ts#L26) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Track.ts#L26) ### public player: Player -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Track.ts#L11) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Track.ts#L11) ### public playlist: Playlist -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Track.ts#L20) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Track.ts#L20) ### public queryType: undefined \| null \| SearchQueryType -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Track.ts#L21) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Track.ts#L21) ### public raw: RawTrackData -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Track.ts#L22) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Track.ts#L22) ### public requestedBy: null \| User -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Track.ts#L19) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Track.ts#L19) ### public thumbnail: string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Track.ts#L16) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Track.ts#L16) ### public title: string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Track.ts#L12) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Track.ts#L12) ### public url: string -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Track.ts#L15) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Track.ts#L15) ### public views: number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Track.ts#L18) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Track.ts#L18) ### public durationMS: number The track duration in millisecond ### public queue: GuildQueue\ @@ -57,10 +57,10 @@ Raw JSON representation of this track | hidePlaylist | boolean | ✅ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Track.ts#L177) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Track.ts#L177) ### public toString(): string String representation of this track -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Track.ts#L169) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Track.ts#L169) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/TypeUtil.mdx b/apps/website/pages/docs/classes/discord-player/TypeUtil.mdx index 2c0ba7a77..5cbbd4bc5 100644 --- a/apps/website/pages/docs/classes/discord-player/TypeUtil.mdx +++ b/apps/website/pages/docs/classes/discord-player/TypeUtil.mdx @@ -11,46 +11,46 @@ | t | unknown | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/TypeUtil.ts#L27) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/TypeUtil.ts#L27) ### public static isBoolean(t): t is boolean | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | t | unknown | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/TypeUtil.ts#L19) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/TypeUtil.ts#L19) ### public static isError(t): t is Error | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | t | unknown | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/TypeUtil.ts#L31) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/TypeUtil.ts#L31) ### public static isFunction(t): t is Function | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | t | unknown | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/TypeUtil.ts#L7) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/TypeUtil.ts#L7) ### public static isNullish(t): t is undefined \| null | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | t | unknown | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/TypeUtil.ts#L23) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/TypeUtil.ts#L23) ### public static isNumber(t): t is number | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | t | unknown | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/TypeUtil.ts#L11) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/TypeUtil.ts#L11) ### public static isString(t): t is string | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | t | unknown | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/TypeUtil.ts#L15) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/TypeUtil.ts#L15) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/Util.mdx b/apps/website/pages/docs/classes/discord-player/Util.mdx index 290be8f0b..b41e7dcf6 100644 --- a/apps/website/pages/docs/classes/discord-player/Util.mdx +++ b/apps/website/pages/docs/classes/discord-player/Util.mdx @@ -15,7 +15,7 @@ Builds time code | duration | TimeData | ❌ | The duration object | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/Util.ts#L44) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/Util.ts#L44) ### public static durationString(durObj): string Creates duration string @@ -26,16 +26,16 @@ Creates duration string | durObj | Record\ | ❌ | The duration object | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/Util.ts#L16) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/Util.ts#L16) ### public static getFetch(): Promise\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/Util.ts#L110) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/Util.ts#L110) ### public static import(id): Promise\<\{ error: null,module: any } \| \{ error: unknown,module: null }> | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | id | string | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/Util.ts#L90) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/Util.ts#L90) ### public static isVoiceEmpty(channel): boolean Checks if the voice channel is empty @@ -46,7 +46,7 @@ Checks if the voice channel is empty | channel | StageChannel \| VoiceChannel | ❌ | The voice channel | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/Util.ts#L73) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/Util.ts#L73) ### public static last(arr): T Picks last item of the given array @@ -57,9 +57,9 @@ Picks last item of the given array | arr | Array\ | ❌ | The array | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/Util.ts#L63) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/Util.ts#L63) ### public static noop(): void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/Util.ts#L108) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/Util.ts#L108) ### public static parseMS(milliseconds): TimeData Parses milliseconds to consumable time object @@ -70,14 +70,14 @@ Parses milliseconds to consumable time object | milliseconds | number | ❌ | The time in ms | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/Util.ts#L27) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/Util.ts#L27) ### public static randomChoice(src): T | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | src | Array\ | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/Util.ts#L134) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/Util.ts#L134) ### public static require(id): \{ error: null,module: any } \| \{ error: unknown,module: null } Safer require @@ -88,7 +88,7 @@ Safer require | id | string | ❌ | Node require id | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/Util.ts#L82) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/Util.ts#L82) ### public static wait(time): Promise\ Asynchronous timeout @@ -99,7 +99,7 @@ Asynchronous timeout | time | number | ❌ | The time in ms to wait | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/Util.ts#L104) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/Util.ts#L104) ### public static warn(message, code, detail?): void | Parameter | Type | Optional | | ----------- | ----------- | ----------- | @@ -108,4 +108,4 @@ Asynchronous timeout | detail | string | ✅ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/Util.ts#L127) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/Util.ts#L127) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/VoiceReceiverNode.mdx b/apps/website/pages/docs/classes/discord-player/VoiceReceiverNode.mdx index d2ccfea3f..0371cabe3 100644 --- a/apps/website/pages/docs/classes/discord-player/VoiceReceiverNode.mdx +++ b/apps/website/pages/docs/classes/discord-player/VoiceReceiverNode.mdx @@ -11,7 +11,7 @@ new VoiceReceiverNode(dispatcher) ## Properties ### public dispatcher: StreamDispatcher -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/VoiceReceiverNode.ts#L19) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/VoiceReceiverNode.ts#L19) ## Methods ### public createRawTrack(stream, data): Track @@ -21,7 +21,7 @@ new VoiceReceiverNode(dispatcher) | data | Partial\> | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/VoiceReceiverNode.ts#L21) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/VoiceReceiverNode.ts#L21) ### public mergeRecordings(streams): void Merge multiple streams together @@ -32,7 +32,7 @@ Merge multiple streams together | streams | Array\ | ❌ | The array of streams to merge | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/VoiceReceiverNode.ts#L45) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/VoiceReceiverNode.ts#L45) ### public recordUser(user, options): Readable Record a user in voice channel @@ -44,4 +44,4 @@ Record a user in voice channel | options | VoiceReceiverOptions | ❌ | Recording options | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/VoiceReceiverNode.ts#L56) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/VoiceReceiverNode.ts#L56) \ No newline at end of file diff --git a/apps/website/pages/docs/classes/discord-player/VoiceUtils.mdx b/apps/website/pages/docs/classes/discord-player/VoiceUtils.mdx index 7cf02d1b0..148ea682d 100644 --- a/apps/website/pages/docs/classes/discord-player/VoiceUtils.mdx +++ b/apps/website/pages/docs/classes/discord-player/VoiceUtils.mdx @@ -4,9 +4,9 @@ ## Properties ### public cache: Collection\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/VoiceUtils.ts#L9) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/VoiceUtils.ts#L9) ### public player: Player -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/VoiceUtils.ts#L15) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/VoiceUtils.ts#L15) ## Methods ### public connect(channel, options?): Promise\ @@ -20,7 +20,7 @@ Joins a voice channel, creating basic stream dispatch manager | options | \{ audioPlayer: AudioPlayer,deaf: boolean,maxTime: number,queue: GuildQueue\ } | ✅ | Join options | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/VoiceUtils.ts#L29) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/VoiceUtils.ts#L29) ### public disconnect(connection): void Disconnects voice connection @@ -31,7 +31,7 @@ Disconnects voice connection | connection | StreamDispatcher \| VoiceConnection | ❌ | The voice connection | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/VoiceUtils.ts#L74) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/VoiceUtils.ts#L74) ### public getConnection(guild): undefined \| StreamDispatcher \| VoiceConnection Returns Discord Player voice connection @@ -42,7 +42,7 @@ Returns Discord Player voice connection | guild | string | ❌ | The guild id | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/VoiceUtils.ts#L89) +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/VoiceUtils.ts#L89) ### public join(channel?, options?): Promise\ Joins a voice channel @@ -54,4 +54,4 @@ Joins a voice channel | options | \{ deaf: boolean,maxTime: number } | ✅ | Join options | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/VoiceUtils.ts#L51) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/VoiceUtils.ts#L51) \ No newline at end of file diff --git a/apps/website/pages/docs/functions/@discord-player/extractor/createImport.mdx b/apps/website/pages/docs/functions/@discord-player/extractor/createImport.mdx index c31a5bdd1..788d52780 100644 --- a/apps/website/pages/docs/functions/@discord-player/extractor/createImport.mdx +++ b/apps/website/pages/docs/functions/@discord-player/extractor/createImport.mdx @@ -4,4 +4,4 @@ | lib | string | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/common/helper.ts#L9) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/common/helper.ts#L9) \ No newline at end of file diff --git a/apps/website/pages/docs/functions/@discord-player/extractor/getFetch.mdx b/apps/website/pages/docs/functions/@discord-player/extractor/getFetch.mdx index 506118a7e..7960530d7 100644 --- a/apps/website/pages/docs/functions/@discord-player/extractor/getFetch.mdx +++ b/apps/website/pages/docs/functions/@discord-player/extractor/getFetch.mdx @@ -5,4 +5,4 @@ | init | RequestInit | ✅ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/common/helper.ts#L23) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/common/helper.ts#L24) \ No newline at end of file diff --git a/apps/website/pages/docs/functions/@discord-player/extractor/loadYtdl.mdx b/apps/website/pages/docs/functions/@discord-player/extractor/loadYtdl.mdx index 047de8c99..2808d2794 100644 --- a/apps/website/pages/docs/functions/@discord-player/extractor/loadYtdl.mdx +++ b/apps/website/pages/docs/functions/@discord-player/extractor/loadYtdl.mdx @@ -5,4 +5,4 @@ | force | boolean | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/common/helper.ts#L45) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/common/helper.ts#L46) \ No newline at end of file diff --git a/apps/website/pages/docs/functions/@discord-player/extractor/lyricsExtractor.mdx b/apps/website/pages/docs/functions/@discord-player/extractor/lyricsExtractor.mdx index 5b211e046..56b052ac1 100644 --- a/apps/website/pages/docs/functions/@discord-player/extractor/lyricsExtractor.mdx +++ b/apps/website/pages/docs/functions/@discord-player/extractor/lyricsExtractor.mdx @@ -5,4 +5,4 @@ | force | boolean | ✅ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/LyricsExtractor.ts#L6) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/LyricsExtractor.ts#L6) \ No newline at end of file diff --git a/apps/website/pages/docs/functions/@discord-player/extractor/makeYTSearch.mdx b/apps/website/pages/docs/functions/@discord-player/extractor/makeYTSearch.mdx index 05cad76ac..9d6a49ffd 100644 --- a/apps/website/pages/docs/functions/@discord-player/extractor/makeYTSearch.mdx +++ b/apps/website/pages/docs/functions/@discord-player/extractor/makeYTSearch.mdx @@ -5,4 +5,4 @@ | opt | any | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/common/helper.ts#L106) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/common/helper.ts#L124) \ No newline at end of file diff --git a/apps/website/pages/docs/functions/@discord-player/utils/createEnum.mdx b/apps/website/pages/docs/functions/@discord-player/utils/createEnum.mdx index 0191a60ee..cd86001db 100644 --- a/apps/website/pages/docs/functions/@discord-player/utils/createEnum.mdx +++ b/apps/website/pages/docs/functions/@discord-player/utils/createEnum.mdx @@ -4,4 +4,4 @@ | data | Array\ | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/utils.ts#L1) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/utils.ts#L1) \ No newline at end of file diff --git a/apps/website/pages/docs/functions/discord-player/FFMPEG_ARGS_PIPED.mdx b/apps/website/pages/docs/functions/discord-player/FFMPEG_ARGS_PIPED.mdx index 788f93f11..4f8d4402d 100644 --- a/apps/website/pages/docs/functions/discord-player/FFMPEG_ARGS_PIPED.mdx +++ b/apps/website/pages/docs/functions/discord-player/FFMPEG_ARGS_PIPED.mdx @@ -4,4 +4,4 @@ | fmt | string | ✅ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/FFmpegStream.ts#L34) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/FFmpegStream.ts#L34) \ No newline at end of file diff --git a/apps/website/pages/docs/functions/discord-player/FFMPEG_ARGS_STRING.mdx b/apps/website/pages/docs/functions/discord-player/FFMPEG_ARGS_STRING.mdx index 4888dc3d8..f4feec232 100644 --- a/apps/website/pages/docs/functions/discord-player/FFMPEG_ARGS_STRING.mdx +++ b/apps/website/pages/docs/functions/discord-player/FFMPEG_ARGS_STRING.mdx @@ -6,4 +6,4 @@ | cookies | string | ✅ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/FFmpegStream.ts#L12) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/FFmpegStream.ts#L12) \ No newline at end of file diff --git a/apps/website/pages/docs/functions/discord-player/createFFmpegStream.mdx b/apps/website/pages/docs/functions/discord-player/createFFmpegStream.mdx index 60a69a0e1..d98c69008 100644 --- a/apps/website/pages/docs/functions/discord-player/createFFmpegStream.mdx +++ b/apps/website/pages/docs/functions/discord-player/createFFmpegStream.mdx @@ -9,4 +9,4 @@ Creates FFmpeg stream | options | FFmpegStreamOptions | ✅ | FFmpeg stream options | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/FFmpegStream.ts#L50) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/FFmpegStream.ts#L50) \ No newline at end of file diff --git a/apps/website/pages/docs/functions/discord-player/findFFmpeg.mdx b/apps/website/pages/docs/functions/discord-player/findFFmpeg.mdx index 89962b725..cafb755b8 100644 --- a/apps/website/pages/docs/functions/discord-player/findFFmpeg.mdx +++ b/apps/website/pages/docs/functions/discord-player/findFFmpeg.mdx @@ -8,4 +8,4 @@ Locate ffmpeg command. Throws error if ffmpeg is not found. | force | boolean | ❌ | Forcefully reload | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/FFmpeg.ts#L236) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/FFmpeg.ts#L236) \ No newline at end of file diff --git a/apps/website/pages/docs/functions/discord-player/onAfterCreateStream.mdx b/apps/website/pages/docs/functions/discord-player/onAfterCreateStream.mdx index 7c88ffd24..76aece9d0 100644 --- a/apps/website/pages/docs/functions/discord-player/onAfterCreateStream.mdx +++ b/apps/website/pages/docs/functions/discord-player/onAfterCreateStream.mdx @@ -4,4 +4,4 @@ | handler | OnAfterCreateStreamHandler | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/hooks/stream/onAfterCreateStream.ts#L4) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/hooks/stream/onAfterCreateStream.ts#L4) \ No newline at end of file diff --git a/apps/website/pages/docs/functions/discord-player/onBeforeCreateStream.mdx b/apps/website/pages/docs/functions/discord-player/onBeforeCreateStream.mdx index 7df6726a0..52d85adc5 100644 --- a/apps/website/pages/docs/functions/discord-player/onBeforeCreateStream.mdx +++ b/apps/website/pages/docs/functions/discord-player/onBeforeCreateStream.mdx @@ -4,4 +4,4 @@ | handler | OnBeforeCreateStreamHandler | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/hooks/stream/onBeforeCreateStream.ts#L4) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/hooks/stream/onBeforeCreateStream.ts#L4) \ No newline at end of file diff --git a/apps/website/pages/docs/functions/discord-player/useHistory.mdx b/apps/website/pages/docs/functions/discord-player/useHistory.mdx index b33eeda01..fbe8c0aba 100644 --- a/apps/website/pages/docs/functions/discord-player/useHistory.mdx +++ b/apps/website/pages/docs/functions/discord-player/useHistory.mdx @@ -4,4 +4,4 @@ | node | NodeResolvable | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/hooks/useHistory.ts#L4) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/hooks/useHistory.ts#L4) \ No newline at end of file diff --git a/apps/website/pages/docs/functions/discord-player/useMasterPlayer.mdx b/apps/website/pages/docs/functions/discord-player/useMasterPlayer.mdx index 98e6541b3..9905632d3 100644 --- a/apps/website/pages/docs/functions/discord-player/useMasterPlayer.mdx +++ b/apps/website/pages/docs/functions/discord-player/useMasterPlayer.mdx @@ -1,2 +1,2 @@ ### useMasterPlayer(): null \| Player -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/hooks/useMasterPlayer.ts#L3) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/hooks/useMasterPlayer.ts#L3) \ No newline at end of file diff --git a/apps/website/pages/docs/functions/discord-player/useMetadata.mdx b/apps/website/pages/docs/functions/discord-player/useMetadata.mdx index 42d7fad94..93513ca2c 100644 --- a/apps/website/pages/docs/functions/discord-player/useMetadata.mdx +++ b/apps/website/pages/docs/functions/discord-player/useMetadata.mdx @@ -4,4 +4,4 @@ | node | NodeResolvable | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/hooks/useMetadata.ts#L7) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/hooks/useMetadata.ts#L7) \ No newline at end of file diff --git a/apps/website/pages/docs/functions/discord-player/usePlayer.mdx b/apps/website/pages/docs/functions/discord-player/usePlayer.mdx index 2a23a85b7..39ef07374 100644 --- a/apps/website/pages/docs/functions/discord-player/usePlayer.mdx +++ b/apps/website/pages/docs/functions/discord-player/usePlayer.mdx @@ -4,4 +4,4 @@ | node | NodeResolvable | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/hooks/usePlayer.ts#L4) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/hooks/usePlayer.ts#L4) \ No newline at end of file diff --git a/apps/website/pages/docs/functions/discord-player/useQueue.mdx b/apps/website/pages/docs/functions/discord-player/useQueue.mdx index 3dd51291a..72a090a0c 100644 --- a/apps/website/pages/docs/functions/discord-player/useQueue.mdx +++ b/apps/website/pages/docs/functions/discord-player/useQueue.mdx @@ -4,4 +4,4 @@ | node | NodeResolvable | ❌ | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/hooks/useQueue.ts#L4) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/hooks/useQueue.ts#L4) \ No newline at end of file diff --git a/apps/website/pages/docs/functions/discord-player/useTimeline.mdx b/apps/website/pages/docs/functions/discord-player/useTimeline.mdx index f2d4d88af..8daa8b9e8 100644 --- a/apps/website/pages/docs/functions/discord-player/useTimeline.mdx +++ b/apps/website/pages/docs/functions/discord-player/useTimeline.mdx @@ -2,4 +2,7 @@ | Parameter | Type | Optional | | ----------- | ----------- | ----------- | | node | NodeResolvable | ❌ | -| options | Partial\ | ✅ | \ No newline at end of file +| options | Partial\ | ✅ | + + +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/hooks/useTimeline.ts#L8) \ No newline at end of file diff --git a/apps/website/pages/docs/guides/community-resources.md b/apps/website/pages/docs/guides/community-resources.md index 501cedacd..70ba6420b 100644 --- a/apps/website/pages/docs/guides/community-resources.md +++ b/apps/website/pages/docs/guides/community-resources.md @@ -15,21 +15,22 @@ An unofficial extractor for discord-player to add support for deezer source. | Project Name | Description | Discord Player Version | | --- | --- | --- | | [Naybor](https://github.com/antoinemcx/naybor) | Complete and configurable discord music bot using discord-player | v6.3.0 | +| [그린Bot](https://github.com/GreenScreen410/GreenBot) | Very simple and based official guide music bot, written in TypeScript. | v6.3.0 | +| [Botanique](https://git.mylloon.fr/ConfrerieDuKassoulait/Botanique) | A bot I made with [2-1-1-2](https://github.com/2-1-1-2), we're using discord-player for the music and for lyrics | v6.2.1 | +| [Jappan](https://github.com/febkosq8/Jappan) | A simple discord bot made to make someone's life easier. Currently features Music Playback, Fun Commands, Leveling System & Moderation Tools | v6.2.1 | | [Mittelbot](https://github.com/Mittelbots/Mittelbot) | I am using discord-player to let people play their favourite music in their discord servers (No yt ofc) | v6.2.1 | -| [Music Bot](https://github.com/JazzyArmando1234/music-bot/tree/master) | Only a music bot which use discord-player. | v6.0.0 | -| [Yeci](https://github.com/yeci226/yeci-bot) | I am using discord-player to play music with shards | v6.0.0 | -| [Lofi Girl bot](https://github.com/Greensky-gs/Lofi-girl) | I made a Lofi music bot with discord-player | v6.0.0 | +| [Wego Overseer](https://github.com/rickklaasboer/wego-overseer) | Using discord-player to manage Wego Overseer's music functionality | v6.2.1 | | [Auricle](https://github.com/itsauric/auricle-music-bot) | This is a music bot created by using the [sapphire framework](https://github.com/sapphiredev/framework) & [discord-player](https://github.com/Androz2091/discord-player/tree/master) with this project being written in TypeScript. | v6.1.1 | -| [Jappan](https://github.com/febkosq8/Jappan) | A simple discord bot made to make someone's life easier. Currently features Music Playback, Fun Commands, Leveling System & Moderation Tools | v6.2.1 | -| [Botanique](https://git.mylloon.fr/ConfrerieDuKassoulait/Botanique) | A bot I made with [2-1-1-2](https://github.com/2-1-1-2), we're using discord-player for the music and for lyrics | v6.2.1 | -| [Bhop Music Bot](https://github.com/akanora/bhop-music-bot) | There were not many bots made with discord-player 6.0.0 and discord.js 14.7.1, I was bored and made a simple one. We are using discord-player to listen music while bhopping. 🐇| v6.1.0 | +| [Beat-Bot](https://github.com/IslandRhythms/Beat-Bot) | Fun discord bot with helpful util commands and music player using discord-player. | v6.1.1 | +| [Melody](https://github.com/NerdyTechy/Melody) | Useful Discord music bot with many commands and effects to spice up your music. | v6.1.1 | | [Music Disc](https://github.com/hmes98318/Music-Disc) | I am using discord-player v6 to play music on Discord with friends. It's easy to set up and run yourself. | v6.1.1 | | [Discord Music Bot](https://github.com/ervin-sungkono/Discord-Music-Bot) | I'm using discord-player to make a discord music bot, it does pretty much the same as what a normal music bot does, also has lyrics and filters. | v6.1.0 | -| [Flowease](https://github.com/Lutra-Fs/Flowease) | I am using discord-player to play songs from NetEase. | v5.3.2 | +| [Bhop Music Bot](https://github.com/akanora/bhop-music-bot) | There were not many bots made with discord-player 6.0.0 and discord.js 14.7.1, I was bored and made a simple one. We are using discord-player to listen music while bhopping. 🐇| v6.1.0 | +| [Lofi Girl bot](https://github.com/Greensky-gs/Lofi-girl) | I made a Lofi music bot with discord-player | v6.0.0 | +| [Music Bot](https://github.com/JazzyArmando1234/music-bot/tree/master) | Only a music bot which use discord-player. | v6.0.0 | +| [Yeci](https://github.com/yeci226/yeci-bot) | I am using discord-player to play music with shards | v6.0.0 | | [DumBot](https://github.com/Mateo-Wallace/MP2-Discord-DumBot-V2) | Open source bot made using discord.js and discord-player that contains dice rolling and music playing functionality. | v5.4.0 | +| [Flowease](https://github.com/Lutra-Fs/Flowease) | I am using discord-player to play songs from NetEase. | v5.3.2 | | [AtlantaBot](https://github.com/Androz2091/AtlantaBot) | We are using discord-player to manager all of our music commands. | v4.1.0 | -| [Beat-Bot](https://github.com/IslandRhythms/Beat-Bot) | Fun discord bot with helpful util commands and music player using discord-player. | v6.1.1 | -| [Melody](https://github.com/NerdyTechy/Melody) | Useful Discord music bot with many commands and effects to spice up your music. | v6.1.1 | -| [Wego Overseer](https://github.com/rickklaasboer/wego-overseer) | Using discord-player to manage Wego Overseer's music functionality | v6.2.1 | > Add your own bot/project by creating a [pull request](https://github.com/Androz2091/discord-player). diff --git a/apps/website/pages/docs/guides/welcome.md b/apps/website/pages/docs/guides/welcome.md index 9d80f16ec..c4d047d68 100644 --- a/apps/website/pages/docs/guides/welcome.md +++ b/apps/website/pages/docs/guides/welcome.md @@ -73,6 +73,8 @@ $ yarn add ytdl-core $ yarn add play-dl # or $ yarn add @distube/ytdl-core +# or +$ yarn add yt-stream ``` Done with all these? Let's write a simple music bot then. diff --git a/apps/website/pages/docs/types/@discord-player/downloader/Info.mdx b/apps/website/pages/docs/types/@discord-player/downloader/Info.mdx index df4fbf167..c3c8cd68b 100644 --- a/apps/website/pages/docs/types/@discord-player/downloader/Info.mdx +++ b/apps/website/pages/docs/types/@discord-player/downloader/Info.mdx @@ -13,4 +13,4 @@ | views | number | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/downloader/src/Downloader.ts#L3) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/downloader/src/Downloader.ts#L3) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/equalizer/BiquadFilterUpdateData.mdx b/apps/website/pages/docs/types/@discord-player/equalizer/BiquadFilterUpdateData.mdx index f40ad505a..54f9e820a 100644 --- a/apps/website/pages/docs/types/@discord-player/equalizer/BiquadFilterUpdateData.mdx +++ b/apps/website/pages/docs/types/@discord-player/equalizer/BiquadFilterUpdateData.mdx @@ -8,4 +8,4 @@ | gain | number | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/BiquadStream.ts#L13) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/BiquadStream.ts#L13) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/equalizer/BiquadFilters.mdx b/apps/website/pages/docs/types/@discord-player/equalizer/BiquadFilters.mdx index 8060f385f..a9ba8ec60 100644 --- a/apps/website/pages/docs/types/@discord-player/equalizer/BiquadFilters.mdx +++ b/apps/website/pages/docs/types/@discord-player/equalizer/BiquadFilters.mdx @@ -2,4 +2,4 @@ - Type: keyof (typeof FilterType) \| (typeof FilterType)\[keyof (typeof FilterType)] -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Coefficients.ts#L14) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Coefficients.ts#L14) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/equalizer/BiquadSetFilterProps.mdx b/apps/website/pages/docs/types/@discord-player/equalizer/BiquadSetFilterProps.mdx index 7a84b26a4..e41629b83 100644 --- a/apps/website/pages/docs/types/@discord-player/equalizer/BiquadSetFilterProps.mdx +++ b/apps/website/pages/docs/types/@discord-player/equalizer/BiquadSetFilterProps.mdx @@ -8,4 +8,4 @@ | gain | number | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L3) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L3) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/equalizer/BiquadStreamOptions.mdx b/apps/website/pages/docs/types/@discord-player/equalizer/BiquadStreamOptions.mdx index d7ca21b06..e6bd6f032 100644 --- a/apps/website/pages/docs/types/@discord-player/equalizer/BiquadStreamOptions.mdx +++ b/apps/website/pages/docs/types/@discord-player/equalizer/BiquadStreamOptions.mdx @@ -11,4 +11,4 @@ | type | 's16le' \| 's16be' \| 's32le' \| 's32be' | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/BiquadStream.ts#L6) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/BiquadStream.ts#L6) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/equalizer/ChannelProcessorInput.mdx b/apps/website/pages/docs/types/@discord-player/equalizer/ChannelProcessorInput.mdx index 3f02dfacc..eb79145f8 100644 --- a/apps/website/pages/docs/types/@discord-player/equalizer/ChannelProcessorInput.mdx +++ b/apps/website/pages/docs/types/@discord-player/equalizer/ChannelProcessorInput.mdx @@ -9,4 +9,4 @@ | writeInt | WriteIntCallback | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/Equalizer.ts#L5) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/Equalizer.ts#L5) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/equalizer/DSPFiltersPreset.mdx b/apps/website/pages/docs/types/@discord-player/equalizer/DSPFiltersPreset.mdx index c6d4d6126..330fe4aa8 100644 --- a/apps/website/pages/docs/types/@discord-player/equalizer/DSPFiltersPreset.mdx +++ b/apps/website/pages/docs/types/@discord-player/equalizer/DSPFiltersPreset.mdx @@ -9,4 +9,4 @@ | volume | VolumeTransformerOptions | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/FiltersChainBuilder.ts#L7) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/FiltersChainBuilder.ts#L7) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/equalizer/EqualizerBand.mdx b/apps/website/pages/docs/types/@discord-player/equalizer/EqualizerBand.mdx index b5527e03b..fe481d811 100644 --- a/apps/website/pages/docs/types/@discord-player/equalizer/EqualizerBand.mdx +++ b/apps/website/pages/docs/types/@discord-player/equalizer/EqualizerBand.mdx @@ -6,4 +6,4 @@ | gain | number | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/EqualizerStream.ts#L10) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/EqualizerStream.ts#L10) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/equalizer/EqualizerStreamOptions.mdx b/apps/website/pages/docs/types/@discord-player/equalizer/EqualizerStreamOptions.mdx index 93fac533b..5373a2b7c 100644 --- a/apps/website/pages/docs/types/@discord-player/equalizer/EqualizerStreamOptions.mdx +++ b/apps/website/pages/docs/types/@discord-player/equalizer/EqualizerStreamOptions.mdx @@ -9,4 +9,4 @@ | type | 's16le' \| 's16be' \| 's32le' \| 's32be' | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/EqualizerStream.ts#L5) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/EqualizerStream.ts#L5) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/equalizer/MSTStrategy.mdx b/apps/website/pages/docs/types/@discord-player/equalizer/MSTStrategy.mdx index 1d7953879..f58e4ed03 100644 --- a/apps/website/pages/docs/types/@discord-player/equalizer/MSTStrategy.mdx +++ b/apps/website/pages/docs/types/@discord-player/equalizer/MSTStrategy.mdx @@ -2,4 +2,4 @@ - Type: 'm2s' \| 's2m' -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/MonoStereoTransformer.ts#L9) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/MonoStereoTransformer.ts#L9) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/equalizer/MonoStereoTransformerOptions.mdx b/apps/website/pages/docs/types/@discord-player/equalizer/MonoStereoTransformerOptions.mdx index c07f151ce..e1bb1ffad 100644 --- a/apps/website/pages/docs/types/@discord-player/equalizer/MonoStereoTransformerOptions.mdx +++ b/apps/website/pages/docs/types/@discord-player/equalizer/MonoStereoTransformerOptions.mdx @@ -8,4 +8,4 @@ | type | 's16le' \| 's16be' \| 's32le' \| 's32be' | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/MonoStereoTransformer.ts#L11) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/MonoStereoTransformer.ts#L11) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/equalizer/PCMFiltererOptions.mdx b/apps/website/pages/docs/types/@discord-player/equalizer/PCMFiltererOptions.mdx index a9a51bdc7..6271d583f 100644 --- a/apps/website/pages/docs/types/@discord-player/equalizer/PCMFiltererOptions.mdx +++ b/apps/website/pages/docs/types/@discord-player/equalizer/PCMFiltererOptions.mdx @@ -8,4 +8,4 @@ | type | 's16le' \| 's16be' \| 's32le' \| 's32be' | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L14) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L14) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/equalizer/PCMFilters.mdx b/apps/website/pages/docs/types/@discord-player/equalizer/PCMFilters.mdx index d4c1f4722..9e4e230f6 100644 --- a/apps/website/pages/docs/types/@discord-player/equalizer/PCMFilters.mdx +++ b/apps/website/pages/docs/types/@discord-player/equalizer/PCMFilters.mdx @@ -2,4 +2,4 @@ - Type: keyof (typeof AudioFilters) -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L12) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L12) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/equalizer/PCMResamplerOptions.mdx b/apps/website/pages/docs/types/@discord-player/equalizer/PCMResamplerOptions.mdx index cd7d001a2..eac95d320 100644 --- a/apps/website/pages/docs/types/@discord-player/equalizer/PCMResamplerOptions.mdx +++ b/apps/website/pages/docs/types/@discord-player/equalizer/PCMResamplerOptions.mdx @@ -8,4 +8,4 @@ | type | 's16le' \| 's16be' \| 's32le' \| 's32be' | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/PCMResampler.ts#L4) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/PCMResampler.ts#L4) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/equalizer/PCMTransformerOptions.mdx b/apps/website/pages/docs/types/@discord-player/equalizer/PCMTransformerOptions.mdx index 0b259d1eb..bdfa0c931 100644 --- a/apps/website/pages/docs/types/@discord-player/equalizer/PCMTransformerOptions.mdx +++ b/apps/website/pages/docs/types/@discord-player/equalizer/PCMTransformerOptions.mdx @@ -7,4 +7,4 @@ | type | 's16le' \| 's16be' \| 's32le' \| 's32be' | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L5) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L5) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/equalizer/PCMType.mdx b/apps/website/pages/docs/types/@discord-player/equalizer/PCMType.mdx index 646eb8b37..0e7f71b0a 100644 --- a/apps/website/pages/docs/types/@discord-player/equalizer/PCMType.mdx +++ b/apps/website/pages/docs/types/@discord-player/equalizer/PCMType.mdx @@ -2,4 +2,4 @@ - Type: s\$\{16 \\| 32} \| s\$\{'l' \\| 'b'}e -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L3) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L3) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/equalizer/ReadIntCallback.mdx b/apps/website/pages/docs/types/@discord-player/equalizer/ReadIntCallback.mdx index e88da227d..b3fbbe101 100644 --- a/apps/website/pages/docs/types/@discord-player/equalizer/ReadIntCallback.mdx +++ b/apps/website/pages/docs/types/@discord-player/equalizer/ReadIntCallback.mdx @@ -2,4 +2,4 @@ - Type: (buffer: Buffer, index: number) => number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/ChannelProcessor.ts#L3) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/ChannelProcessor.ts#L3) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/equalizer/VolumeTransformerOptions.mdx b/apps/website/pages/docs/types/@discord-player/equalizer/VolumeTransformerOptions.mdx index 7c38e4ac8..820cc3da9 100644 --- a/apps/website/pages/docs/types/@discord-player/equalizer/VolumeTransformerOptions.mdx +++ b/apps/website/pages/docs/types/@discord-player/equalizer/VolumeTransformerOptions.mdx @@ -8,4 +8,4 @@ | volume | number | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/VolumeTransformer.ts#L4) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/VolumeTransformer.ts#L4) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/equalizer/WriteIntCallback.mdx b/apps/website/pages/docs/types/@discord-player/equalizer/WriteIntCallback.mdx index d11a07611..c5945a77e 100644 --- a/apps/website/pages/docs/types/@discord-player/equalizer/WriteIntCallback.mdx +++ b/apps/website/pages/docs/types/@discord-player/equalizer/WriteIntCallback.mdx @@ -2,4 +2,4 @@ - Type: (buffer: Buffer, int: number, index: number) => number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/equalizer/ChannelProcessor.ts#L4) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/equalizer/ChannelProcessor.ts#L4) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/extractor/AppleMusicExtractorInit.mdx b/apps/website/pages/docs/types/@discord-player/extractor/AppleMusicExtractorInit.mdx index 9230f8efd..f0a8a9d08 100644 --- a/apps/website/pages/docs/types/@discord-player/extractor/AppleMusicExtractorInit.mdx +++ b/apps/website/pages/docs/types/@discord-player/extractor/AppleMusicExtractorInit.mdx @@ -5,4 +5,4 @@ | createStream | (ext: AppleMusicExtractor, url: string) => Promise\ | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/AppleMusicExtractor.ts#L7) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/AppleMusicExtractor.ts#L7) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/extractor/LyricsData.mdx b/apps/website/pages/docs/types/@discord-player/extractor/LyricsData.mdx index ad6f07f8d..28a44202f 100644 --- a/apps/website/pages/docs/types/@discord-player/extractor/LyricsData.mdx +++ b/apps/website/pages/docs/types/@discord-player/extractor/LyricsData.mdx @@ -12,4 +12,4 @@ | url | string | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/LyricsExtractor.ts#L42) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/LyricsExtractor.ts#L42) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/extractor/SpotifyExtractorInit.mdx b/apps/website/pages/docs/types/@discord-player/extractor/SpotifyExtractorInit.mdx index 51aea4835..1d9464261 100644 --- a/apps/website/pages/docs/types/@discord-player/extractor/SpotifyExtractorInit.mdx +++ b/apps/website/pages/docs/types/@discord-player/extractor/SpotifyExtractorInit.mdx @@ -7,4 +7,4 @@ | createStream | (ext: SpotifyExtractor, url: string) => Promise\ | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/SpotifyExtractor.ts#L10) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/SpotifyExtractor.ts#L10) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/extractor/StreamFN.mdx b/apps/website/pages/docs/types/@discord-player/extractor/StreamFN.mdx index c04a8ca51..76b769d56 100644 --- a/apps/website/pages/docs/types/@discord-player/extractor/StreamFN.mdx +++ b/apps/website/pages/docs/types/@discord-player/extractor/StreamFN.mdx @@ -2,4 +2,4 @@ - Type: (q: string) => Promise\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/common/helper.ts#L42) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/common/helper.ts#L43) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/extractor/YoutubeExtractorInit.mdx b/apps/website/pages/docs/types/@discord-player/extractor/YoutubeExtractorInit.mdx index 24a6d4895..744cf0840 100644 --- a/apps/website/pages/docs/types/@discord-player/extractor/YoutubeExtractorInit.mdx +++ b/apps/website/pages/docs/types/@discord-player/extractor/YoutubeExtractorInit.mdx @@ -5,4 +5,4 @@ | createStream | (ext: YoutubeExtractor, url: string) => Promise\ | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/extractor/src/extractors/YoutubeExtractor.ts#L23) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/extractor/src/extractors/YoutubeExtractor.ts#L23) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/utils/PlayerExceptionMessage.mdx b/apps/website/pages/docs/types/@discord-player/utils/PlayerExceptionMessage.mdx index e1b75a29a..f545e53d0 100644 --- a/apps/website/pages/docs/types/@discord-player/utils/PlayerExceptionMessage.mdx +++ b/apps/website/pages/docs/types/@discord-player/utils/PlayerExceptionMessage.mdx @@ -2,4 +2,4 @@ - Type: string \| Record\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Errors.ts#L1) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Errors.ts#L1) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/utils/QueueItemFilter.mdx b/apps/website/pages/docs/types/@discord-player/utils/QueueItemFilter.mdx index 589b67e35..0754f471c 100644 --- a/apps/website/pages/docs/types/@discord-player/utils/QueueItemFilter.mdx +++ b/apps/website/pages/docs/types/@discord-player/utils/QueueItemFilter.mdx @@ -2,4 +2,4 @@ - Type: (value: T, idx: number, array: Array\) => R -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Queue.ts#L5) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Queue.ts#L5) \ No newline at end of file diff --git a/apps/website/pages/docs/types/@discord-player/utils/QueueStrategy.mdx b/apps/website/pages/docs/types/@discord-player/utils/QueueStrategy.mdx index 2f08b2599..1a996b407 100644 --- a/apps/website/pages/docs/types/@discord-player/utils/QueueStrategy.mdx +++ b/apps/website/pages/docs/types/@discord-player/utils/QueueStrategy.mdx @@ -2,4 +2,4 @@ - Type: 'LIFO' \| 'FIFO' -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/utils/src/Queue.ts#L3) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/utils/src/Queue.ts#L3) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/AsyncQueueAcquisitionOptions.mdx b/apps/website/pages/docs/types/discord-player/AsyncQueueAcquisitionOptions.mdx index 27a91c132..f2dafdf69 100644 --- a/apps/website/pages/docs/types/discord-player/AsyncQueueAcquisitionOptions.mdx +++ b/apps/website/pages/docs/types/discord-player/AsyncQueueAcquisitionOptions.mdx @@ -5,4 +5,4 @@ | signal | AbortSignal | N/A | AbortSignal to cancel this entry | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/AsyncQueue.ts#L3) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/AsyncQueue.ts#L3) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/ErrorStatusCode.mdx b/apps/website/pages/docs/types/discord-player/ErrorStatusCode.mdx index 5f92d7196..060bc2c71 100644 --- a/apps/website/pages/docs/types/discord-player/ErrorStatusCode.mdx +++ b/apps/website/pages/docs/types/discord-player/ErrorStatusCode.mdx @@ -18,4 +18,4 @@ | UNKNOWN_REPEAT_MODE | 'UnknownRepeatMode' | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/PlayerError.ts#L1) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/PlayerError.ts#L1) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/ExtractorExecutionEvents.mdx b/apps/website/pages/docs/types/discord-player/ExtractorExecutionEvents.mdx index b01a2523b..6376ceb31 100644 --- a/apps/website/pages/docs/types/discord-player/ExtractorExecutionEvents.mdx +++ b/apps/website/pages/docs/types/discord-player/ExtractorExecutionEvents.mdx @@ -9,4 +9,4 @@ | unregistered | (context: ExtractorExecutionContext, extractor: BaseExtractor\) => unknown | N/A | Emitted when a extractor is unregistered | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/ExtractorExecutionContext.ts#L20) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/ExtractorExecutionContext.ts#L20) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/ExtractorExecutionFN.mdx b/apps/website/pages/docs/types/discord-player/ExtractorExecutionFN.mdx index a692d38e1..2c5c44170 100644 --- a/apps/website/pages/docs/types/discord-player/ExtractorExecutionFN.mdx +++ b/apps/website/pages/docs/types/discord-player/ExtractorExecutionFN.mdx @@ -2,4 +2,4 @@ - Type: (extractor: BaseExtractor) => Promise\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/ExtractorExecutionContext.ts#L213) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/ExtractorExecutionContext.ts#L213) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/ExtractorExecutionResult.mdx b/apps/website/pages/docs/types/discord-player/ExtractorExecutionResult.mdx index 70d882033..08ac80ee6 100644 --- a/apps/website/pages/docs/types/discord-player/ExtractorExecutionResult.mdx +++ b/apps/website/pages/docs/types/discord-player/ExtractorExecutionResult.mdx @@ -7,4 +7,4 @@ | result | T | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/ExtractorExecutionContext.ts#L207) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/ExtractorExecutionContext.ts#L207) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/ExtractorInfo.mdx b/apps/website/pages/docs/types/discord-player/ExtractorInfo.mdx index 157f823e5..2e101b3de 100644 --- a/apps/website/pages/docs/types/discord-player/ExtractorInfo.mdx +++ b/apps/website/pages/docs/types/discord-player/ExtractorInfo.mdx @@ -6,4 +6,4 @@ | tracks | Array\ | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/BaseExtractor.ts#L129) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/BaseExtractor.ts#L129) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/ExtractorSearchContext.mdx b/apps/website/pages/docs/types/discord-player/ExtractorSearchContext.mdx index ef5a59f94..5472bce39 100644 --- a/apps/website/pages/docs/types/discord-player/ExtractorSearchContext.mdx +++ b/apps/website/pages/docs/types/discord-player/ExtractorSearchContext.mdx @@ -7,4 +7,4 @@ | type | null \| SearchQueryType | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/BaseExtractor.ts#L134) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/BaseExtractor.ts#L134) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/FFmpegInfo.mdx b/apps/website/pages/docs/types/discord-player/FFmpegInfo.mdx index a37280afd..2e059e2a2 100644 --- a/apps/website/pages/docs/types/discord-player/FFmpegInfo.mdx +++ b/apps/website/pages/docs/types/discord-player/FFmpegInfo.mdx @@ -8,4 +8,4 @@ | version | null \| string | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/FFmpeg.ts#L13) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/FFmpeg.ts#L13) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/FFmpegOptions.mdx b/apps/website/pages/docs/types/discord-player/FFmpegOptions.mdx index 5faef206a..bd6a90c67 100644 --- a/apps/website/pages/docs/types/discord-player/FFmpegOptions.mdx +++ b/apps/website/pages/docs/types/discord-player/FFmpegOptions.mdx @@ -6,4 +6,4 @@ | shell | boolean | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/FFmpeg.ts#L20) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/FFmpeg.ts#L20) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/FFmpegStreamOptions.mdx b/apps/website/pages/docs/types/discord-player/FFmpegStreamOptions.mdx index f00842912..69a24e7c5 100644 --- a/apps/website/pages/docs/types/discord-player/FFmpegStreamOptions.mdx +++ b/apps/website/pages/docs/types/discord-player/FFmpegStreamOptions.mdx @@ -9,4 +9,4 @@ | skip | boolean | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/FFmpegStream.ts#L4) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/FFmpegStream.ts#L4) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/FilterGraph.mdx b/apps/website/pages/docs/types/discord-player/FilterGraph.mdx index 3126b2319..19a4363c2 100644 --- a/apps/website/pages/docs/types/discord-player/FilterGraph.mdx +++ b/apps/website/pages/docs/types/discord-player/FilterGraph.mdx @@ -10,4 +10,4 @@ | volume | number | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L313) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L313) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/FiltersName.mdx b/apps/website/pages/docs/types/discord-player/FiltersName.mdx index b264c6164..d8731a9e4 100644 --- a/apps/website/pages/docs/types/discord-player/FiltersName.mdx +++ b/apps/website/pages/docs/types/discord-player/FiltersName.mdx @@ -2,4 +2,4 @@ - Type: keyof QueueFilters -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/types/types.ts#L8) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/types/types.ts#L8) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/GuildNodeCreateOptions.mdx b/apps/website/pages/docs/types/discord-player/GuildNodeCreateOptions.mdx index e4a2d1250..7d186bd0f 100644 --- a/apps/website/pages/docs/types/discord-player/GuildNodeCreateOptions.mdx +++ b/apps/website/pages/docs/types/discord-player/GuildNodeCreateOptions.mdx @@ -27,4 +27,4 @@ | volume | number \| boolean | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildNodeManager.ts#L9) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildNodeManager.ts#L9) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/GuildNodeInit.mdx b/apps/website/pages/docs/types/discord-player/GuildNodeInit.mdx index 3473fe64b..6b8f541d7 100644 --- a/apps/website/pages/docs/types/discord-player/GuildNodeInit.mdx +++ b/apps/website/pages/docs/types/discord-player/GuildNodeInit.mdx @@ -28,4 +28,4 @@ | volume | number \| boolean | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L20) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L20) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/GuildQueueAFiltersCache.mdx b/apps/website/pages/docs/types/discord-player/GuildQueueAFiltersCache.mdx index b7486dee3..f2fc03f9a 100644 --- a/apps/website/pages/docs/types/discord-player/GuildQueueAFiltersCache.mdx +++ b/apps/website/pages/docs/types/discord-player/GuildQueueAFiltersCache.mdx @@ -9,4 +9,4 @@ | volume | number | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L187) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueueAudioFilters.ts#L187) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/GuildQueueEvent.mdx b/apps/website/pages/docs/types/discord-player/GuildQueueEvent.mdx index 52be94f5f..58e5de470 100644 --- a/apps/website/pages/docs/types/discord-player/GuildQueueEvent.mdx +++ b/apps/website/pages/docs/types/discord-player/GuildQueueEvent.mdx @@ -27,4 +27,4 @@ | volumeChange | 'volumeChange' | N/A | Emitted when volume is updated | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L63) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L63) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/GuildQueueEvents.mdx b/apps/website/pages/docs/types/discord-player/GuildQueueEvents.mdx index 36d2ad8f8..ed6f79bb5 100644 --- a/apps/website/pages/docs/types/discord-player/GuildQueueEvents.mdx +++ b/apps/website/pages/docs/types/discord-player/GuildQueueEvents.mdx @@ -27,4 +27,4 @@ | volumeChange | (queue: GuildQueue\, oldVolume: number, newVolume: number) => unknown | N/A | Emitted when audio player's volume is changed | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L158) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L158) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/NextFunction.mdx b/apps/website/pages/docs/types/discord-player/NextFunction.mdx index 9594ec7f3..c275308ce 100644 --- a/apps/website/pages/docs/types/discord-player/NextFunction.mdx +++ b/apps/website/pages/docs/types/discord-player/NextFunction.mdx @@ -2,4 +2,4 @@ - Type: (error: Error \| null, stream: Readable) => void -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/extractors/BaseExtractor.ts#L127) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/extractors/BaseExtractor.ts#L127) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/NodeResolvable.mdx b/apps/website/pages/docs/types/discord-player/NodeResolvable.mdx index 5e0aced04..5be9f296c 100644 --- a/apps/website/pages/docs/types/discord-player/NodeResolvable.mdx +++ b/apps/website/pages/docs/types/discord-player/NodeResolvable.mdx @@ -2,4 +2,4 @@ - Type: GuildQueue \| GuildResolvable -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildNodeManager.ts#L35) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildNodeManager.ts#L35) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/OnAfterCreateStreamHandler.mdx b/apps/website/pages/docs/types/discord-player/OnAfterCreateStreamHandler.mdx index cf9d65994..15127f39b 100644 --- a/apps/website/pages/docs/types/discord-player/OnAfterCreateStreamHandler.mdx +++ b/apps/website/pages/docs/types/discord-player/OnAfterCreateStreamHandler.mdx @@ -2,4 +2,4 @@ - Type: (stream: Readable, queue: GuildQueue) => Promise\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L59) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L59) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/OnBeforeCreateStreamHandler.mdx b/apps/website/pages/docs/types/discord-player/OnBeforeCreateStreamHandler.mdx index 58a57d260..bcfb8bff9 100644 --- a/apps/website/pages/docs/types/discord-player/OnBeforeCreateStreamHandler.mdx +++ b/apps/website/pages/docs/types/discord-player/OnBeforeCreateStreamHandler.mdx @@ -2,4 +2,4 @@ - Type: (track: Track, queryType: SearchQueryType, queue: GuildQueue) => Promise\ -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L58) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L58) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/PlayOptions.mdx b/apps/website/pages/docs/types/discord-player/PlayOptions.mdx index 34941637b..ac695a73a 100644 --- a/apps/website/pages/docs/types/discord-player/PlayOptions.mdx +++ b/apps/website/pages/docs/types/discord-player/PlayOptions.mdx @@ -8,4 +8,4 @@ | seek | number | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/types/types.ts#L207) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/types/types.ts#L207) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/PlayerEvent.mdx b/apps/website/pages/docs/types/discord-player/PlayerEvent.mdx index abfa01d37..d8019f8b6 100644 --- a/apps/website/pages/docs/types/discord-player/PlayerEvent.mdx +++ b/apps/website/pages/docs/types/discord-player/PlayerEvent.mdx @@ -7,4 +7,4 @@ | voiceStateUpdate | 'voiceStateUpdate' | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/types/types.ts#L192) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/types/types.ts#L192) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/PlayerEvents.mdx b/apps/website/pages/docs/types/discord-player/PlayerEvents.mdx index 7b69ebd30..2be596ade 100644 --- a/apps/website/pages/docs/types/discord-player/PlayerEvents.mdx +++ b/apps/website/pages/docs/types/discord-player/PlayerEvents.mdx @@ -7,4 +7,4 @@ | voiceStateUpdate | (queue: GuildQueue\, oldState: VoiceState, newState: VoiceState) => any | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/types/types.ts#L186) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/types/types.ts#L186) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/PlayerInitOptions.mdx b/apps/website/pages/docs/types/discord-player/PlayerInitOptions.mdx index 420696644..b617ae3e7 100644 --- a/apps/website/pages/docs/types/discord-player/PlayerInitOptions.mdx +++ b/apps/website/pages/docs/types/discord-player/PlayerInitOptions.mdx @@ -12,4 +12,4 @@ | ytdlOptions | downloadOptions | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/types/types.ts#L345) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/types/types.ts#L345) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/PlayerNodeInitializationResult.mdx b/apps/website/pages/docs/types/discord-player/PlayerNodeInitializationResult.mdx index 02d139b21..52fa8f214 100644 --- a/apps/website/pages/docs/types/discord-player/PlayerNodeInitializationResult.mdx +++ b/apps/website/pages/docs/types/discord-player/PlayerNodeInitializationResult.mdx @@ -8,4 +8,4 @@ | track | Track | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Player.ts#L17) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Player.ts#L17) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/PlayerProgressbarOptions.mdx b/apps/website/pages/docs/types/discord-player/PlayerProgressbarOptions.mdx index 8ff36bdb1..01b8f3f5b 100644 --- a/apps/website/pages/docs/types/discord-player/PlayerProgressbarOptions.mdx +++ b/apps/website/pages/docs/types/discord-player/PlayerProgressbarOptions.mdx @@ -9,4 +9,4 @@ | timecodes | boolean | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/types/types.ts#L121) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/types/types.ts#L121) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/PlayerSearchResult.mdx b/apps/website/pages/docs/types/discord-player/PlayerSearchResult.mdx index ae39f6f7c..709c47ea3 100644 --- a/apps/website/pages/docs/types/discord-player/PlayerSearchResult.mdx +++ b/apps/website/pages/docs/types/discord-player/PlayerSearchResult.mdx @@ -6,4 +6,4 @@ | tracks | Array\ | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/types/types.ts#L10) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/types/types.ts#L10) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/PlayerTimestamp.mdx b/apps/website/pages/docs/types/discord-player/PlayerTimestamp.mdx index 33f48e742..34fc48df8 100644 --- a/apps/website/pages/docs/types/discord-player/PlayerTimestamp.mdx +++ b/apps/website/pages/docs/types/discord-player/PlayerTimestamp.mdx @@ -7,4 +7,4 @@ | total | \{ label: string,value: number } | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L19) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L19) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/PlayerTriggeredReason.mdx b/apps/website/pages/docs/types/discord-player/PlayerTriggeredReason.mdx index a0f87cdc8..049e720bb 100644 --- a/apps/website/pages/docs/types/discord-player/PlayerTriggeredReason.mdx +++ b/apps/website/pages/docs/types/discord-player/PlayerTriggeredReason.mdx @@ -2,4 +2,4 @@ - Type: 'filters' \| 'normal' -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L61) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L61) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/PlaylistInitData.mdx b/apps/website/pages/docs/types/discord-player/PlaylistInitData.mdx index c3f5dfd79..25f57544a 100644 --- a/apps/website/pages/docs/types/discord-player/PlaylistInitData.mdx +++ b/apps/website/pages/docs/types/discord-player/PlaylistInitData.mdx @@ -14,4 +14,4 @@ | url | string | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/types/types.ts#L262) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/types/types.ts#L262) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/PlaylistJSON.mdx b/apps/website/pages/docs/types/discord-player/PlaylistJSON.mdx index a2efa97c7..d602b9f68 100644 --- a/apps/website/pages/docs/types/discord-player/PlaylistJSON.mdx +++ b/apps/website/pages/docs/types/discord-player/PlaylistJSON.mdx @@ -13,4 +13,4 @@ | url | string | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/types/types.ts#L319) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/types/types.ts#L319) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/PostProcessedResult.mdx b/apps/website/pages/docs/types/discord-player/PostProcessedResult.mdx index 505d48164..b0527538c 100644 --- a/apps/website/pages/docs/types/discord-player/PostProcessedResult.mdx +++ b/apps/website/pages/docs/types/discord-player/PostProcessedResult.mdx @@ -6,4 +6,4 @@ | type | StreamType | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L53) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L53) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/QueryCacheOptions.mdx b/apps/website/pages/docs/types/discord-player/QueryCacheOptions.mdx index c1f803aad..5fcbaa359 100644 --- a/apps/website/pages/docs/types/discord-player/QueryCacheOptions.mdx +++ b/apps/website/pages/docs/types/discord-player/QueryCacheOptions.mdx @@ -5,4 +5,4 @@ | checkInterval | number | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/QueryCache.ts#L7) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/QueryCache.ts#L7) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/QueryCacheResolverContext.mdx b/apps/website/pages/docs/types/discord-player/QueryCacheResolverContext.mdx index 6bfe23504..40af07979 100644 --- a/apps/website/pages/docs/types/discord-player/QueryCacheResolverContext.mdx +++ b/apps/website/pages/docs/types/discord-player/QueryCacheResolverContext.mdx @@ -7,4 +7,4 @@ | requestedBy | User | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/utils/QueryCache.ts#L86) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/utils/QueryCache.ts#L86) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/QueryExtractorSearch.mdx b/apps/website/pages/docs/types/discord-player/QueryExtractorSearch.mdx index 4221103a1..3f5965230 100644 --- a/apps/website/pages/docs/types/discord-player/QueryExtractorSearch.mdx +++ b/apps/website/pages/docs/types/discord-player/QueryExtractorSearch.mdx @@ -2,4 +2,4 @@ - Type: ext:\$\{string} -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/types/types.ts#L214) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/types/types.ts#L214) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/QueueFilters.mdx b/apps/website/pages/docs/types/discord-player/QueueFilters.mdx index 0e233dc13..997e99048 100644 --- a/apps/website/pages/docs/types/discord-player/QueueFilters.mdx +++ b/apps/website/pages/docs/types/discord-player/QueueFilters.mdx @@ -38,4 +38,4 @@ | vibrato | boolean | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/types/types.ts#L18) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/types/types.ts#L18) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/QueueRepeatMode.mdx b/apps/website/pages/docs/types/discord-player/QueueRepeatMode.mdx index cd2fe12be..079baa2d2 100644 --- a/apps/website/pages/docs/types/discord-player/QueueRepeatMode.mdx +++ b/apps/website/pages/docs/types/discord-player/QueueRepeatMode.mdx @@ -14,4 +14,4 @@ The queue repeat mode. This can be one of: | TRACK | 1 | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/types/types.ts#L240) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/types/types.ts#L240) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/RawTrackData.mdx b/apps/website/pages/docs/types/discord-player/RawTrackData.mdx index dea1481c0..1648faa15 100644 --- a/apps/website/pages/docs/types/discord-player/RawTrackData.mdx +++ b/apps/website/pages/docs/types/discord-player/RawTrackData.mdx @@ -18,4 +18,4 @@ | views | number | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/types/types.ts#L82) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/types/types.ts#L82) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/RawTrackInit.mdx b/apps/website/pages/docs/types/discord-player/RawTrackInit.mdx index a66c660a8..3efb4890c 100644 --- a/apps/website/pages/docs/types/discord-player/RawTrackInit.mdx +++ b/apps/website/pages/docs/types/discord-player/RawTrackInit.mdx @@ -2,4 +2,4 @@ - Type: Partial\> -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/VoiceReceiverNode.ts#L16) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/VoiceReceiverNode.ts#L16) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/ResourcePlayOptions.mdx b/apps/website/pages/docs/types/discord-player/ResourcePlayOptions.mdx index 665367d73..6edbdcac8 100644 --- a/apps/website/pages/docs/types/discord-player/ResourcePlayOptions.mdx +++ b/apps/website/pages/docs/types/discord-player/ResourcePlayOptions.mdx @@ -7,4 +7,4 @@ | transitionMode | boolean | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L13) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueuePlayerNode.ts#L13) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/SearchOptions.mdx b/apps/website/pages/docs/types/discord-player/SearchOptions.mdx index 9e2ad8c29..d2eb3a333 100644 --- a/apps/website/pages/docs/types/discord-player/SearchOptions.mdx +++ b/apps/website/pages/docs/types/discord-player/SearchOptions.mdx @@ -9,4 +9,4 @@ | searchEngine | SearchQueryType \| ext:\$\{string} | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/types/types.ts#L224) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/types/types.ts#L224) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/SearchQueryType.mdx b/apps/website/pages/docs/types/discord-player/SearchQueryType.mdx index 1c668f913..a83ce3174 100644 --- a/apps/website/pages/docs/types/discord-player/SearchQueryType.mdx +++ b/apps/website/pages/docs/types/discord-player/SearchQueryType.mdx @@ -2,4 +2,4 @@ - Type: keyof (typeof QueryType) \| (typeof QueryType)\[keyof (typeof QueryType)] -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/types/types.ts#L183) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/types/types.ts#L183) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/SearchResultData.mdx b/apps/website/pages/docs/types/discord-player/SearchResultData.mdx index a1c1ef268..474fa0fe4 100644 --- a/apps/website/pages/docs/types/discord-player/SearchResultData.mdx +++ b/apps/website/pages/docs/types/discord-player/SearchResultData.mdx @@ -10,4 +10,4 @@ | tracks | Array\ | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/SearchResult.ts#L8) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/SearchResult.ts#L8) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/TimeData.mdx b/apps/website/pages/docs/types/discord-player/TimeData.mdx index 8a9bb2c5f..cf135a966 100644 --- a/apps/website/pages/docs/types/discord-player/TimeData.mdx +++ b/apps/website/pages/docs/types/discord-player/TimeData.mdx @@ -8,4 +8,4 @@ | seconds | number | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/types/types.ts#L106) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/types/types.ts#L106) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/TimelineDispatcherOptions.mdx b/apps/website/pages/docs/types/discord-player/TimelineDispatcherOptions.mdx index ff6387938..0201aa540 100644 --- a/apps/website/pages/docs/types/discord-player/TimelineDispatcherOptions.mdx +++ b/apps/website/pages/docs/types/discord-player/TimelineDispatcherOptions.mdx @@ -2,4 +2,7 @@ | Property | Type | Value | | ----------- | ----------- | ----------- | -| ignoreFilters | boolean | N/A | \ No newline at end of file +| ignoreFilters | boolean | N/A | + + +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/hooks/useTimeline.ts#L4) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/TrackJSON.mdx b/apps/website/pages/docs/types/discord-player/TrackJSON.mdx index 4996c3b64..cd07194b8 100644 --- a/apps/website/pages/docs/types/discord-player/TrackJSON.mdx +++ b/apps/website/pages/docs/types/discord-player/TrackJSON.mdx @@ -15,4 +15,4 @@ | views | number | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/types/types.ts#L291) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/types/types.ts#L291) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/TrackResolvable.mdx b/apps/website/pages/docs/types/discord-player/TrackResolvable.mdx index 6b307be57..6d17bf25b 100644 --- a/apps/website/pages/docs/types/discord-player/TrackResolvable.mdx +++ b/apps/website/pages/docs/types/discord-player/TrackResolvable.mdx @@ -2,4 +2,4 @@ - Type: Track \| string \| number -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/Track.ts#L8) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/Track.ts#L8) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/TrackSource.mdx b/apps/website/pages/docs/types/discord-player/TrackSource.mdx index b6bbbd640..916b61681 100644 --- a/apps/website/pages/docs/types/discord-player/TrackSource.mdx +++ b/apps/website/pages/docs/types/discord-player/TrackSource.mdx @@ -9,4 +9,4 @@ The track source: - Type: 'soundcloud' \| 'youtube' \| 'spotify' \| 'apple_music' \| 'arbitrary' -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/types/types.ts#L64) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/types/types.ts#L64) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/VoiceConnectConfig.mdx b/apps/website/pages/docs/types/discord-player/VoiceConnectConfig.mdx index bc360966c..54264ab18 100644 --- a/apps/website/pages/docs/types/discord-player/VoiceConnectConfig.mdx +++ b/apps/website/pages/docs/types/discord-player/VoiceConnectConfig.mdx @@ -7,4 +7,4 @@ | timeout | number | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/GuildQueue.ts#L47) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/GuildQueue.ts#L47) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/VoiceEvents.mdx b/apps/website/pages/docs/types/discord-player/VoiceEvents.mdx index 820205ec6..656751168 100644 --- a/apps/website/pages/docs/types/discord-player/VoiceEvents.mdx +++ b/apps/website/pages/docs/types/discord-player/VoiceEvents.mdx @@ -13,4 +13,4 @@ | volume | (volume: number) => any | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L54) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/VoiceInterface/StreamDispatcher.ts#L54) \ No newline at end of file diff --git a/apps/website/pages/docs/types/discord-player/VoiceReceiverOptions.mdx b/apps/website/pages/docs/types/discord-player/VoiceReceiverOptions.mdx index 91c992582..755e6c437 100644 --- a/apps/website/pages/docs/types/discord-player/VoiceReceiverOptions.mdx +++ b/apps/website/pages/docs/types/discord-player/VoiceReceiverOptions.mdx @@ -8,4 +8,4 @@ | silenceDuration | number | N/A | -- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/discord-player/src/Structures/VoiceReceiverNode.ts#L9) \ No newline at end of file +- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/discord-player/src/Structures/VoiceReceiverNode.ts#L9) \ No newline at end of file diff --git a/packages/extractor/package.json b/packages/extractor/package.json index 40cf76f29..d41402e73 100644 --- a/packages/extractor/package.json +++ b/packages/extractor/package.json @@ -1,6 +1,6 @@ { "name": "@discord-player/extractor", - "version": "4.2.1", + "version": "4.2.2", "description": "Extractors for discord-player", "keywords": [ "discord-player", diff --git a/packages/extractor/src/extractors/common/helper.ts b/packages/extractor/src/extractors/common/helper.ts index 3a3e39743..e7cf44074 100644 --- a/packages/extractor/src/extractors/common/helper.ts +++ b/packages/extractor/src/extractors/common/helper.ts @@ -13,10 +13,12 @@ export const YouTubeLibs = [ 'ytdl-core', '@distube/ytdl-core', 'play-dl', - "yt-stream" + 'yt-stream' // add more to the list if you have any ]; +const ERR_NO_YT_LIB = new Error(`Could not load youtube library. Install one of ${YouTubeLibs.map((lib) => `"${lib}"`).join(', ')}`); + // forced lib const forcedLib = process.env.DP_FORCE_YTDL_MOD; if (forcedLib) YouTubeLibs.unshift(forcedLib); @@ -75,9 +77,11 @@ export async function loadYtdl(options?: any, force = false) { .sort((a, b) => Number(b.audioBitrate) - Number(a.audioBitrate) || Number(a.bitrate) - Number(b.bitrate)); const fmt = formats.find((format) => !format.hasVideo) || formats.sort((a, b) => Number(a.bitrate) - Number(b.bitrate))[0]; - return fmt.url; + const url = fmt?.url; + if (!url) throw new Error(`Failed to parse stream url for ${query}`); + return url; // return dl(query, this.context.player.options.ytdlOptions); - } else if (_ytLibName === "play-dl") { + } else if (_ytLibName === 'play-dl') { const dl = lib as typeof import('play-dl'); const info = await dl.video_info(query); @@ -91,29 +95,34 @@ export async function loadYtdl(options?: any, force = false) { .sort((a, b) => Number(b.bitrate) - Number(a.bitrate)); const fmt = formats.find((format) => !format.qualityLabel) || formats.sort((a, b) => Number(a.bitrate) - Number(b.bitrate))[0]; - return fmt.url!; + const url = fmt?.url; + if (!url) throw new Error(`Failed to parse stream url for ${query}`); + return url; // return (await dl.stream(query, { discordPlayerCompatibility: true })).stream; - } else { - const dl = lib as typeof import("yt-stream") + } else if (_ytLibName === 'yt-stream') { + const dl = lib as typeof import('yt-stream'); // @ts-ignore Default lib did not provide types for this function - const decipher: any = await import('yt-stream/src/stream/decipher.js') + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const decipher: any = await import('yt-stream/src/stream/decipher.js'); - const info = await dl.getInfo(query) + const info = await dl.getInfo(query); - info.formats = await decipher?.format_decipher(info.formats, info.html5player) + info.formats = await decipher?.format_decipher(info.formats, info.html5player); // @ts-ignore The lib did not provide ts support - const url = info.formats.filter((val) => val.mimeType.startsWith('audio') && val.audioQuality !== "AUDIO_QUALITY_LOW").map((val) => val.url) as Array + const url = info.formats.filter((val) => val.mimeType.startsWith('audio') && val.audioQuality !== 'AUDIO_QUALITY_LOW').map((val) => val.url) as Array; - if(url.length !== 0) return url[0] + if (url.length !== 0) return url[0]; // @ts-ignore The lib did not provide ts support - return info.formats.filter(val => val.mimeType.startsWith("audio")).map(val => val.url)[0] as string + return info.formats.filter((val) => val.mimeType.startsWith('audio')).map((val) => val.url)[0] as string; + } else { + throw ERR_NO_YT_LIB; } }; } else { - throw new Error(`Could not load youtube library. Install one of ${YouTubeLibs.map((lib) => `"${lib}"`).join(', ')}`); + throw ERR_NO_YT_LIB; } factory = { name: _ytLibName!, stream: _stream, lib };