v3.2.0
Version 3.2.0
This release adds two main additional features:
Documentation:
https://wavelink.dev
Support:
Discord Server
Caution
You can no longer use a BETA version of Lavalink from version 3.1.0. Please upgrade your Lavalink to a stable version 4+.
Additions
Events:
- on_wavelink_inactive_player()
Called when the Playersinactive_timeout
expires. Useful for disconnecting the bot after a timeframe of no activity.
Utils:
- Playlist.extras
Similar toPlayable.extras
, but this appliesPlayable.extras
to each track in the playlist and on thePlaylist
itself. - Playable.raw_data
The raw payload received from lavalink. You can use this payload to re-build a track later.
Changes
- Queue (Redesign)
- ++ Queue.swap()
- ++ Queue.peek()
- ++ Queue.index()
- ++ Queue.remove()
- ! ! Queue.delete()
- ++ Queue.get_at()
- ++ Queue.put_at()
- ++ Queue.count
- ++ Queue.is_empty
- ++ Queue.loaded
The queue has been redesigned to be more friendly for wavelink use. Internally the queue now uses a list
instead of a deque
. QoL methods and properties have been added to make it easier to manage and use the queue. Please see the documentation for more information and special ways of using the queue. The queue is backwards compatible minus Queue.delete
which is now not asynchronous.
QoL
- Updated the yarl dependency for better support on
Python 3.12+