Compare commits
3 Commits
756d36107c
...
2e8acaf26d
| Author | SHA1 | Date |
|---|---|---|
|
|
2e8acaf26d | |
|
|
6991ff06f4 | |
|
|
217268c603 |
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue