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.")
|
||||
embed = discord.Embed(title=title)
|
||||
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:
|
||||
embed.description = _(
|
||||
"Local tracks will not work "
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user