Compare commits

..

3 Commits

Author SHA1 Message Date
pre-commit-ci[bot] dc9e148237
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v6.0.0)
- https://github.com/psf/blackhttps://github.com/psf/black-pre-commit-mirror
- [github.com/psf/black-pre-commit-mirror: 23.10.1 → 26.3.0](https://github.com/psf/black-pre-commit-mirror/compare/23.10.1...26.3.0)
- [github.com/asottile/pyupgrade: v3.15.0 → v3.21.2](https://github.com/asottile/pyupgrade/compare/v3.15.0...v3.21.2)
- [github.com/asottile/reorder-python-imports: v3.12.0 → v3.16.0](https://github.com/asottile/reorder-python-imports/compare/v3.12.0...v3.16.0)
- [github.com/asottile/add-trailing-comma: v3.1.0 → v4.0.0](https://github.com/asottile/add-trailing-comma/compare/v3.1.0...v4.0.0)
2026-03-09 18:06:36 +00: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
4 changed files with 5 additions and 2 deletions

0
.gitattributes vendored Normal file
View File

View File

@ -11,7 +11,7 @@ repos:
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.1.0
rev: 26.3.0
hooks:
- id: black
language_version: python3.13

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

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