From 217268c603f20ef1d564926928adbac16f73f3b5 Mon Sep 17 00:00:00 2001 From: cloudwithax Date: Sun, 1 Mar 2026 13:45:36 -0500 Subject: [PATCH 1/2] updating voice update data to include channelid as part of mandated DAVE protocol changes --- .gitattributes | 0 pomice/player.py | 3 +++ 2 files changed, 3 insertions(+) create mode 100644 .gitattributes 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, From 6991ff06f44d74c9c9bc3b7b87c03bad82c2f617 Mon Sep 17 00:00:00 2001 From: cloudwithax Date: Sun, 1 Mar 2026 13:46:20 -0500 Subject: [PATCH 2/2] 2.11.0 --- pomice/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pomice/__init__.py b/pomice/__init__.py index a2ae70c..df6ea40 100644 --- a/pomice/__init__.py +++ b/pomice/__init__.py @@ -20,7 +20,7 @@ if not discord.version_info.major >= 2: "using 'pip install discord.py'", ) -__version__ = "2.10.0" +__version__ = "2.11.0" __title__ = "pomice" __author__ = "cloudwithax" __license__ = "GPL-3.0"