mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 18:27:59 -05:00
[Audio] Expose FriendlyException on play command (#3085)
* [Audio] Expose FriendlyException on play command * Add changelog
This commit is contained in:
@@ -2835,6 +2835,8 @@ class Audio(commands.Cog):
|
||||
if not tracks:
|
||||
self._play_lock(ctx, False)
|
||||
embed = discord.Embed(title=_("Nothing found."), colour=await ctx.embed_colour())
|
||||
if result.exception_message:
|
||||
embed.set_footer(text=result.exception_message)
|
||||
if await self.config.use_external_lavalink() and query.is_local:
|
||||
embed.description = _(
|
||||
"Local tracks will not work "
|
||||
|
||||
Reference in New Issue
Block a user