mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
Special case new RLL message (RLL 0.5.1 bump inside) (#3868)
* specialcase new RLL message Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com> * Bump RLL to 0.5.1 Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
parent
cb999bda7b
commit
f2f3ac7d42
@ -386,7 +386,10 @@ class PlayerUtilities(MixinMeta, metaclass=CompositeMetaClass):
|
|||||||
title = _("Nothing found.")
|
title = _("Nothing found.")
|
||||||
embed = discord.Embed(title=title)
|
embed = discord.Embed(title=title)
|
||||||
if result.exception_message:
|
if result.exception_message:
|
||||||
embed.set_footer(text=result.exception_message[:2000].replace("\n", ""))
|
if "Status Code" in result.exception_message:
|
||||||
|
embed.set_footer(text=result.exception_message[:2000])
|
||||||
|
else:
|
||||||
|
embed.set_footer(text=result.exception_message[:2000].replace("\n", ""))
|
||||||
if await self.config.use_external_lavalink() and query.is_local:
|
if await self.config.use_external_lavalink() and query.is_local:
|
||||||
embed.description = _(
|
embed.description = _(
|
||||||
"Local tracks will not work "
|
"Local tracks will not work "
|
||||||
|
|||||||
@ -46,7 +46,7 @@ install_requires =
|
|||||||
python-Levenshtein-wheels==0.13.1
|
python-Levenshtein-wheels==0.13.1
|
||||||
pytz==2019.3
|
pytz==2019.3
|
||||||
PyYAML==5.3.1
|
PyYAML==5.3.1
|
||||||
Red-Lavalink==0.5.0
|
Red-Lavalink==0.5.1
|
||||||
schema==0.7.1
|
schema==0.7.1
|
||||||
tqdm==4.45.0
|
tqdm==4.45.0
|
||||||
uvloop==0.14.0; sys_platform != "win32" and platform_python_implementation == "CPython"
|
uvloop==0.14.0; sys_platform != "win32" and platform_python_implementation == "CPython"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user