LakhindarPal / discord-player-bot

A feature-rich, Discord music bot that supports multiple streaming platforms,with Button control, has Audio filters, and is easy to self-host with Docker
https://github.com/LakhindarPal/discord-player-bot/blob/main/docs/README.md
GNU General Public License v3.0
142 stars 28 forks source link

Bump discord-player from 6.3.1 to 6.5.0 #60

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps discord-player from 6.3.1 to 6.5.0.

Release notes

Sourced from discord-player's releases.

discord-player@6.5.0

Changelog

  • fix(QueryResolver): spotify playlists were treated as youtube playlists
  • feat(GuildQueueEvents): add willPlayTrack event
  • types(GuildQueueEvent): make events constant usable in event listener
  • feat(GuildQueue): expose maxSize and maxHistorySize
  • feat(GuildQueue): add options.preferBridgedMetadata
  • fix(Track): resolve null upon metadata query failure
  • feat(GuildQueuePlayerNode): add .totalDuration getter
  • feat(GuildQueuePlayerNode): implement StreamConfig

Example of willPlayTrack event

// listening to this event pauses discord-player's execution process until `done()` is invoked
player.events.on(GuildQueueEvent.willPlayTrack, (queue, track, config, done) => {
    // set volume to 30%
    config.dispatcherConfig.volume = 30;
// seek to 20 seconds before playing
config.playerConfig.seek = 20;

// tell discord-player to resume execution process
return done();

});

Full Changelog: https://github.com/Androz2091/discord-player/compare/@​discord-player/extractor@​4.3.0...discord-player@6.5.0

discord-player@6.4.0

What's Changed

  • feat: track metadata api
  • fix: spotify regex
  • feat: bridge query resolver
  • feat: track metadata api
  • feat: introduce play method on tracks and queues
  • feat: allow audio player options on play method
  • feat: error codes
  • Update my community bot version and description by @​L0SER8228 in Androz2091/discord-player#1742

Full Changelog: https://github.com/Androz2091/discord-player/compare/discord-player@6.3.1...discord-player@6.4.0

Commits
  • cd5cf97 chore: release
  • 4b7d028 chore: remove inactive example
  • f643070 feat(GuildQueue): history size config
  • 246c905 feat(GuildQueue): add willPlayTrack event
  • 7322beb fix(QueryResolver): remove youtube-sr dependency
  • 0dbbdaa fix(SpotifyExtractor): query parser regex
  • 5745d73 fix: query resolver, expose maxSize
  • d4a9099 feat: track metadata and more
  • 7529a33 Update my community bot version and description (#1742)
  • See full diff in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)