[3.4] Update Lavalink.jar, Red-Lavalink and make changes to support it (#5474) (#5505)

* Lavalink error handling update

* comment typo

* address review

* Update redbot/cogs/audio/core/events/lavalink.py

* Bump jar version

* Bump RLL version

(cherry picked from commit c49d0ec9d3)

Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com>
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>

Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com>
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
Red-GitHubBot
2021-12-31 01:18:03 +01:00
committed by GitHub
parent 730c650bb4
commit bbfe0d24ad
3 changed files with 6 additions and 4 deletions

View File

@@ -287,7 +287,9 @@ class LavalinkEvents(MixinMeta, metaclass=CompositeMetaClass):
embed = discord.Embed(
title=_("Track Error"),
colour=await self.bot.get_embed_color(message_channel),
description="{}\n{}".format(extra.replace("\n", ""), description),
description="{}\n{}".format(
extra["message"].replace("\n", ""), description
),
)
if current_id:
asyncio.create_task(

View File

@@ -23,8 +23,8 @@ from .utils import task_callback
_ = Translator("Audio", pathlib.Path(__file__))
log = logging.getLogger("red.Audio.manager")
JAR_VERSION: Final[str] = "3.3.2.3"
JAR_BUILD: Final[int] = 1239
JAR_VERSION: Final[str] = "3.4.0"
JAR_BUILD: Final[int] = 1275
LAVALINK_DOWNLOAD_URL: Final[str] = (
"https://github.com/Cog-Creators/Lavalink-Jars/releases/download/"
f"{JAR_VERSION}_{JAR_BUILD}/"

View File

@@ -66,7 +66,7 @@ install_requires =
python-Levenshtein-wheels==0.13.2
pytz==2021.1
PyYAML==5.4.1
Red-Lavalink==0.8.1
Red-Lavalink==0.9.0
rich==10.9.0
schema==0.7.4
six==1.16.0