mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[Audio] Send an more user friendly message at "Track Stuck" errors (#4061)
Co-authored-by: Draper <27962761+Drapersniper@users.noreply.github.com>
This commit is contained in:
parent
a9bd1c60e6
commit
fc2277bc88
@ -199,7 +199,9 @@ class LavalinkEvents(MixinMeta, metaclass=CompositeMetaClass):
|
|||||||
embed = discord.Embed(
|
embed = discord.Embed(
|
||||||
colour=await self.bot.get_embed_color(message_channel),
|
colour=await self.bot.get_embed_color(message_channel),
|
||||||
title=_("Track Stuck"),
|
title=_("Track Stuck"),
|
||||||
description="{}".format(description),
|
description=_(
|
||||||
|
"Playback of the song has stopped due to an unexcepted error.\n{error}"
|
||||||
|
).format(error=description),
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
embed = discord.Embed(
|
embed = discord.Embed(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user