From 678f285be2e0cd85b9d5bf82bc3a2d9e91b4fe7a Mon Sep 17 00:00:00 2001 From: Glas <48269777+DJTOMATO@users.noreply.github.com> Date: Thu, 4 Apr 2024 14:52:45 -0300 Subject: [PATCH] Update player.py Proposed fix for https://github.com/Cog-Creators/Red-DiscordBot/issues/6347 --- redbot/cogs/audio/core/commands/player.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/redbot/cogs/audio/core/commands/player.py b/redbot/cogs/audio/core/commands/player.py index a925c7a4632..0963c2a679e 100644 --- a/redbot/cogs/audio/core/commands/player.py +++ b/redbot/cogs/audio/core/commands/player.py @@ -50,7 +50,9 @@ async def command_play(self, ctx: commands.Context, *, query: str): return await self.send_embed_msg( ctx, title=_("Unable To Play Tracks"), - description=_("That URL is not allowed."), + description=_( + "That URL is not allowed. \n\n The bot owner can remove this restriction by using ``{prefix}audioset restrict``" + ).format(prefix=ctx.clean_prefix), ) elif not await self.is_query_allowed(self.config, ctx, f"{query}", query_obj=query): return await self.send_embed_msg(