Releases: PythonistaGuild/Wavelink
v0.9.3
v.0.9.2
v0.9.1
v0.9.0
Added wavelink.WavelinkMixin
to be used in conjunction with a discord.py commands.Cog
. This class allows for the registration of the new wavelink listeners:
on_node_ready
on_track_start
on_track_end
on_track_stuck
on_track_exception
on_websocket_closed
All listeners must be decorated with the wavelink.WavelinkMixin.listener()
decorator.
All listeners must be in a wavelink.WavelinkMixin
class.
Listeners can be stacked.
Docs
Example
class Music(commands.Cog, wavelink.WavelinkMixin):
@wavelink.WavelinkMixin.listener()
async def on_node_ready(self, node):
print(f'Node {node.identifier} is ready!')
v0.8.0
v0.7.2
v0.7.1
v0.7.0
This major update fixes a bug which would keep old on_socket_response
listeners alive when reinitialising the wavelink.Client
, resulting in multiple voice_state_updates
to be dispatched, causing a multitude of errors.
wavalink.Client
has a breaking change, it now accepts a keyword only parameter bot=
which is an instance of commands.Bot
or commands.AutoShardedBot
. Previously this was positional.