Compare commits

..

3 Commits

Author SHA1 Message Date
.Arhaan fafc6d0b48
Merge ef3b8f4b1d into 6991ff06f4 2026-03-02 12:25:41 -05:00
cloudwithax 6991ff06f4 2.11.0 2026-03-01 13:46:20 -05:00
cloudwithax 217268c603 updating voice update data to include channelid as part of mandated DAVE protocol changes 2026-03-01 13:45:36 -05:00
3 changed files with 4 additions and 1 deletions

0
.gitattributes vendored Normal file
View File

View File

@ -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"

View File

@ -320,6 +320,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,