Skip to content

Commit

Permalink
Update player.py
Browse files Browse the repository at this point in the history
Proposed fix for Cog-Creators#6347
  • Loading branch information
DJTOMATO authored Apr 4, 2024
1 parent f8d6bbb commit 678f285
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion redbot/cogs/audio/core/commands/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 678f285

Please sign in to comment.