Compare commits

...

4 Commits

Author SHA1 Message Date
pre-commit-ci[bot] e4ebc8a21a
Merge dc9e148237 into 6991ff06f4 2026-03-09 18:06:39 +00:00
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 10 additions and 7 deletions

0
.gitattributes vendored Normal file
View File

View File

@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v6.0.0
hooks:
- id: check-ast
- id: check-builtin-literals
@ -10,22 +10,22 @@ repos:
- id: end-of-file-fixer
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 23.10.1
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.3.0
hooks:
- id: black
language_version: python3.13
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.21.2
hooks:
- id: pyupgrade
args: [--py37-plus, --keep-runtime-typing]
- repo: https://github.com/asottile/reorder-python-imports
rev: v3.12.0
rev: v3.16.0
hooks:
- id: reorder-python-imports
- repo: https://github.com/asottile/add-trailing-comma
rev: v3.1.0
rev: v4.0.0
hooks:
- id: add-trailing-comma

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,