updating voice update data to include channelid as part of mandated DAVE protocol changes

This commit is contained in:
cloudwithax 2026-03-01 13:45:36 -05:00
parent 9bffdebe25
commit 217268c603
2 changed files with 3 additions and 0 deletions

0
.gitattributes vendored Normal file
View File

View File

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