Update dependency discord-player to v6 #20
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.3.2
->^6.0.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
Androz2091/discord-player (discord-player)
v6.7.1
Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/Androz2091/discord-player/compare/discord-player@6.6.10...discord-player@6.7.1
v6.7.0
Compare Source
What's Changed
Full Changelog: https://github.com/Androz2091/discord-player/compare/discord-player@6.6.10...discord-player@6.7.0
v6.6.10
Compare Source
What's Changed
Full Changelog: https://github.com/Androz2091/discord-player/compare/discord-player@6.6.9...discord-player@6.6.10
v6.6.9
Compare Source
New Features
cleanTitle
property which removes junk from track titles.New lyrics API
What's Changed
New Contributors
Full Changelog: https://github.com/Androz2091/discord-player/compare/discord-player@6.6.8...discord-player@6.6.9
v6.6.8
Compare Source
New hooks api
Previously, hooks required you to pass guild/id as an argument which is expressed as:
With the new update, there is another method of using hooks, which does not require you to pass guild/id as an argument. In other words, the following code will automatically get the correct queue.
In order to use this method for hooks, you will need to update your command handler to execute your command with hooks context, which can be written as:
This would allow every command to use discord-player hooks without having to specify guild/id.
Why is this necessary?
Lets say you have a command and it calls utility function(s) and that utility function also requires access to discord-player data. You'd normally pass it down through arguments over and over again until it reaches the destination. But with this api, you do not need to pass it down via arguments. It will be directly available to the destination.
Changelog
New Contributors
Full Changelog: https://github.com/Androz2091/discord-player/compare/[@​discord-player/extractor](https://redirect.github.com/discord-player/extractor)[@​4](https://redirect.github.com/4).4.7...discord-player@6.6.8
v6.6.7
Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/Androz2091/discord-player/compare/discord-player@6.6.6...discord-player@6.6.7
v6.6.6
Compare Source
What's Changed
Full Changelog: https://github.com/Androz2091/discord-player/compare/[@​discord-player/extractor](https://redirect.github.com/discord-player/extractor)[@​4](https://redirect.github.com/4).4.5...discord-player@6.6.6
v6.6.5
Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/Androz2091/discord-player/compare/[@​discord-player/equalizer](https://redirect.github.com/discord-player/equalizer)[@​0](https://redirect.github.com/0).2.3...discord-player@6.6.5
v6.6.4
Compare Source
What's Changed
Full Changelog: https://github.com/Androz2091/discord-player/compare/[@​discord-player/extractor](https://redirect.github.com/discord-player/extractor)[@​4](https://redirect.github.com/4).4.3...discord-player@6.6.4
v6.6.3
Compare Source
What's Changed
pauseOnEmpty
discord-voip
silenceremove
filterFull Changelog: https://github.com/Androz2091/discord-player/compare/[@​discord-player/opus](https://redirect.github.com/discord-player/opus)[@​0](https://redirect.github.com/0).1.2...discord-player@6.6.3
v6.6.2
Compare Source
What's Changed
QueryResolver#resolve
to return sanitized query and typepauseOnEmpty
option (Enabled by default)willAutoPlay
event for autoplay track selectionqueueDelete
event not getting emitted properlyPlayer#create
method to create new instance ofPlayer
(overrides singleton behavior)New Contributors
Full Changelog: https://github.com/Androz2091/discord-player/compare/discord-player@6.6.1...discord-player@6.6.2
v6.6.1
Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/Androz2091/discord-player/compare/[@​discord-player/equalizer](https://redirect.github.com/discord-player/equalizer)[@​0](https://redirect.github.com/0).2.2...discord-player@6.6.1
v6.6.0
Compare Source
What's Changed
channelPopulate
and friendsNew Contributors
Full Changelog: https://github.com/Androz2091/discord-player/compare/[@​discord-player/extractor](https://redirect.github.com/discord-player/extractor)[@​4](https://redirect.github.com/4).3.1...discord-player@6.6.0
v6.5.0
Compare Source
Changelog
willPlayTrack
eventmaxSize
andmaxHistorySize
options.preferBridgedMetadata
null
upon metadata query failure.totalDuration
getterStreamConfig
Example of
willPlayTrack
eventFull Changelog: https://github.com/Androz2091/discord-player/compare/[@​discord-player/extractor](https://redirect.github.com/discord-player/extractor)[@​4](https://redirect.github.com/4).3.0...discord-player@6.5.0
v6.4.0
Compare Source
What's Changed
Full Changelog: https://github.com/Androz2091/discord-player/compare/discord-player@6.3.1...discord-player@6.4.0
v6.3.1
Compare Source
What's Changed
useFFmpegLegacy
option to utilizeprism-media
's ffmpegFull Changelog: https://github.com/Androz2091/discord-player/compare/[@​discord-player/extractor](https://redirect.github.com/discord-player/extractor)[@​4](https://redirect.github.com/4).2.2...discord-player@6.3.1
v6.3.0
Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/Androz2091/discord-player/compare/discord-player@6.2.1...discord-player@6.3.0
v6.2.1
Compare Source
Changelog
Full Changelog: https://github.com/Androz2091/discord-player/compare/discord-player@6.2.0...discord-player@6.2.1
v6.2.0
Compare Source
What's Changed
interaction.guild
for player.nodes.create by @TapsHTS in https://github.com/Androz2091/discord-player/pull/1689New Contributors
Full Changelog: https://github.com/Androz2091/discord-player/compare/discord-player@6.1.1...discord-player@6.2.0
v6.1.1
Compare Source
What's Changed
Full Changelog: https://github.com/Androz2091/discord-player/compare/discord-player@6.1.0...discord-player@6.1.1
v6.1.0
Compare Source
Changelog
New Contributors
Full Changelog: https://github.com/Androz2091/discord-player/compare/v6.0.0...discord-player@6.1.0
v6.0.0
: 6.0.0Compare Source
BREAKING CHANGES!!
Documentation: https://discord-player.js.org
Migration Guide: https://discord-player.js.org/docs/guides/v6-migration
What's Changed
onAfterCreateStream
)StreamDispatcher
New Contributors
Full Changelog: Androz2091/discord-player@v5.4.0...v6.0.0
v5.4.0
: 5.4.0Compare Source
What's Changed
91835c7
384db59
New Equalizer API
Equalizer can be accessed with
queue.connection.equalizer
which may beEqualizerStream
instance ornull
. Just like inline volume, equalizer can be disabled by passingdisableEqualizer: true
tocreateQueue
.New Contributors
Full Changelog: Androz2091/discord-player@v5.3.2...v5.4.0
v5.3.2
: 5.3.2Compare Source
What's Changed
generateStatistics
methodeventLoopLag
gettergenerateStatistics
methodping
getterforceNext
methodytdl-core
,soundcloud-scraper
,youtube-sr
,spotify-url-info
topeerDependencies
Full Changelog: Androz2091/discord-player@v5.3.1...v5.3.2
v5.3.1
: 5.3.1Compare Source
What's Changed
Full Changelog: Androz2091/discord-player@v5.3.0...v5.3.1
v5.3.0
: 5.3.0Compare Source
What's Changed
Full Changelog: Androz2091/discord-player@v5.2.2...v5.3.0
v5.2.2
: 5.2.2Compare Source
Updates
smoothVolume
injection on startupFull Changelog: Androz2091/discord-player@v5.2.1...v5.2.2
v5.2.1
: 5.2.1Compare Source
What's Changed
Full Changelog: Androz2091/discord-player@v5.2.0...v5.2.1
v5.2.0
: 5.2.0Compare Source
Features
onBeforeCreateStream
toQueue
instance and queue init optionsskipTo
method (https://github.com/Androz2091/discord-player/pull/806/commits/751ce122bc29a8c19d0256b52759b73d77997229)spotifyBridge
option (edb517c
)spotifyBridge: false
oncreateQueue
optionsdisableVolume
option (87d49c6
)disableVolume: true
oncreateQueue
options3185557
)Fixes
Queue.onBeforeCreateStream
This method traps the stream downloader. This is not related to extractors api though, since it can bypass those. This could also be used to block certain source like
youtube
. You can disablespotifyBridge
to blockspotify<->youtube
bridge.