A non-rc version of changes made in 0.11.0rc0 and 0.11.0rc1.
Changes since 0.10.0:
- Dropped support for discord.py 1.x
- Switched to using discord.py's
VoiceProtocol
(#122)- Removed
user_id
,PlayerManager
, andenums.DiscordVoiceSocketResponses
- Renamed
lavalink.player_manager
module tolavalink.player
- Removed
Player.manager
- Removed
Node.player_manager
- Removed
Node.get_voice_ws()
- Removed
Node.join_voice_channel()
- Added
Node
methods replacing methods fromPlayerManager
:create_player()
,get_player()
- Renamed
- Renamed
lavalink.node.PlayerState
tolavalink.node.PositionTime
- Removed
RESTClient.close()
andRESTClient.reset_session()
- Changed signature of
Player.connect()
,Player.disconnect()
- Removed
- All but first argument to
lavalink.initialize()
have been made keyword-only (#124)ws_port
argument has been renamed toport
to reflect that it's actually used for everything (#121)
port
argument tolavalink.initialize()
can now be omitted to use 80/443 (#121)- The following arguments have been made keyword-only: (#124)
timeout
andwait_if_no_node
inlavalink.wait_until_ready()
timeout
inNode.wait_until_ready()
deafen
inNode.create_player()
timeout
andno_raise
inPlayer.wait_until_ready()
deafen
inPlayer.move_to()
replace
,start
, andpause
inPlayer.resume()
timed
inPlayer.pause()
- Modernized documentation and packaging setup (this shouldn't matter to users of this library but listing it anyway...)
- Moved on to using PEP 621 metadata now that setuptools supports it and PEP 660 editable installs
- Renamed tests and docs extras to test and doc, respectively