diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..e69de29 diff --git a/pomice/player.py b/pomice/player.py index da8d24d..8c3b00b 100644 --- a/pomice/player.py +++ b/pomice/player.py @@ -313,6 +313,9 @@ class Player(VoiceProtocol): "sessionId": state["sessionId"], } + if self._node._version >= LavalinkVersion(4, 2, 0) and self.channel: + data["channelId"] = str(self.channel.id) + await self._node.send( method="PATCH", path=self._player_endpoint_uri,