fix(deps): update dependency discord-player to v6.6.8 #275
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:
6.6.2
->6.6.8
Release Notes
Androz2091/discord-player (discord-player)
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://togithub.com/discord-player/extractor)[@​4](https://togithub.com/4)[email protected]
v6.6.7
Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/Androz2091/discord-player/compare/[email protected]@6.6.7
v6.6.6
Compare Source
What's Changed
Full Changelog: https://github.com/Androz2091/discord-player/compare/[@​discord-player/extractor](https://togithub.com/discord-player/extractor)[@​4](https://togithub.com/4)[email protected]
v6.6.5
Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/Androz2091/discord-player/compare/[@​discord-player/equalizer](https://togithub.com/discord-player/equalizer)[@​0](https://togithub.com/0)[email protected]
v6.6.4
Compare Source
What's Changed
Full Changelog: https://github.com/Androz2091/discord-player/compare/[@​discord-player/extractor](https://togithub.com/discord-player/extractor)[@​4](https://togithub.com/4)[email protected]
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://togithub.com/discord-player/opus)[@​0](https://togithub.com/0)[email protected]
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.