Skip to content

Releases: Androz2091/discord-player

5.0.0

07 Aug 19:24
Compare
Choose a tag to compare

v4.x to v5.x migration guide

This version of discord-player has been rewritten using @discordjs/voice, for better performance. It also now supports Discord.js v13 and Slash Commands. An important part of the core of discord-player has been rebuilt and this leads to many breaking changes. This is something we can't escape if we want to add major improvements to the library.

Thank you for using discord-player, we look forward to your feedback! If you have any questions, feel free to join our Discord server.

Breaking ⚠️

  • Discord.js v13 is required.
  • Node.js v16 is required.
  • All the methods are no longer based on message
  • ytdlDownloadOptions has been renamed to ytdlOptions.
  • Most of the options from Player class has been moved to Queue.
  • All the event parameters have been changed.
  • Provides cleaner API
  • ESM support
  • Each player methods are now handled by individual queues
  • leaveOnEndCooldown option has been removed
  • leaveOnStopCooldown option has been removed

Added

  • New metadata option to all the Queue instances
  • New initialVolume option to all the Queue instances
  • New bufferingTimeout option for Player
  • New connectionTimeout option for voice connections
  • New audio filters
  • Support for Slash Commands (/)
  • Support for Stage channels
  • New Playlist structure

Improved

  • Better error handling
  • Better tracks search
  • Better voice state handling
  • Better queue management

Thanks to @DevAndromeda for this release! ❤️

v4.1.4-pub

28 Jun 18:26
8e876fb
Compare
Choose a tag to compare
Update Player.ts

v4.1.4

28 Jun 18:21
0319f42
Compare
Choose a tag to compare
  • revert extractor first (#565)

v4.1.3

26 Jun 06:19
b4fedb0
Compare
Choose a tag to compare

Fixes

  • Error: Status code 404

v4.1.2

22 Jun 16:14
082780c
Compare
Choose a tag to compare

updates

Extractor compatibility

v4.1.1

20 Jun 08:43
9bd8a5c
Compare
Choose a tag to compare
  • basic changes

4.1.0

14 May 00:38
3430a2f
Compare
Choose a tag to compare

Changelog

  • bump ytdl-core
  • fix #427

4.0.9

13 May 16:26
ee0406c
Compare
Choose a tag to compare

Updates

  • Fixed spotify thumbnails not loading

4.0.8

13 May 10:44
9295ed6
Compare
Choose a tag to compare

Changelogs

  • Spotify handler is completely rewritten
  • Added queue.destroy() method
  • Fixed repl.it volume not working (#406)
  • Fixed spotify bugs
  • All spotify tracks now have the spotify data instead of youtube
  • Playlist add event for spotify now includes Discord Player track object
  • Fixed playlists having one less track in playlist add event
  • Extractors can now specify source type (youtube/soundcloud/spotify/arbitrary)
  • Fixed soundcloud playlist links generated by mobile apps not working (#408)
  • Support for @discord-player/extractor v3

4.0.7

10 May 10:30
067f7f2
Compare
Choose a tag to compare

Changes

  • Fixed Spotify playlist bug (#402)
  • Fixed YouTube playlist tracks being undefined
  • Fixed the bug of soundcloud links generated by apk (#391)
  • Better stream time calculation when nightcore and vaporwave are enabled
  • Fixed spotify playlist title being undefined
  • Fixed playlistAdd event not emitting for spotify playlists
  • Fixed soundcloud durations being invalid