Compare commits

..

3 Commits

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,