Compare commits
2 Commits
e4ebc8a21a
...
33d00af8bc
| Author | SHA1 | Date |
|---|---|---|
|
|
33d00af8bc | |
|
|
c8a7efe129 |
|
|
@ -11,7 +11,7 @@ repos:
|
||||||
- id: requirements-txt-fixer
|
- id: requirements-txt-fixer
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- repo: https://github.com/psf/black-pre-commit-mirror
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
||||||
rev: 26.3.0
|
rev: 26.1.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
language_version: python3.13
|
language_version: python3.13
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ if not discord.version_info.major >= 2:
|
||||||
"using 'pip install discord.py'",
|
"using 'pip install discord.py'",
|
||||||
)
|
)
|
||||||
|
|
||||||
__version__ = "2.11.0"
|
__version__ = "2.10.0"
|
||||||
__title__ = "pomice"
|
__title__ = "pomice"
|
||||||
__author__ = "cloudwithax"
|
__author__ = "cloudwithax"
|
||||||
__license__ = "GPL-3.0"
|
__license__ = "GPL-3.0"
|
||||||
|
|
|
||||||
|
|
@ -313,9 +313,6 @@ class Player(VoiceProtocol):
|
||||||
"sessionId": state["sessionId"],
|
"sessionId": state["sessionId"],
|
||||||
}
|
}
|
||||||
|
|
||||||
if self._node._version >= LavalinkVersion(4, 2, 0) and self.channel:
|
|
||||||
data["channelId"] = str(self.channel.id)
|
|
||||||
|
|
||||||
await self._node.send(
|
await self._node.send(
|
||||||
method="PATCH",
|
method="PATCH",
|
||||||
path=self._player_endpoint_uri,
|
path=self._player_endpoint_uri,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue