patch build track to escape chars properly

This commit is contained in:
cloudwithax 2023-05-19 19:50:10 -04:00
parent 4fc9bd8810
commit 2d8acf7800
No known key found for this signature in database
GPG Key ID: 5DBE54E45794983E
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ if not discord.version_info.major >= 2:
"using 'pip install discord.py'", "using 'pip install discord.py'",
) )
__version__ = "2.6.0" __version__ = "2.6.1a"
__title__ = "pomice" __title__ = "pomice"
__author__ = "cloudwithax" __author__ = "cloudwithax"
__license__ = "GPL-3.0" __license__ = "GPL-3.0"

View File

@ -544,7 +544,7 @@ class Node:
data: dict = await self.send( data: dict = await self.send(
method="GET", method="GET",
path="decodetrack", path="decodetrack",
query=f"encodedTrack={identifier}", query=f"encodedTrack={quote(identifier)}",
) )
return Track( return Track(
track_id=identifier, track_id=identifier,