mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-26 04:33:00 -05:00
black
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
This commit is contained in:
@@ -63,7 +63,6 @@ class PlaylistConverter(commands.Converter):
|
|||||||
user_matches = await get_all_playlist_converter(
|
user_matches = await get_all_playlist_converter(
|
||||||
PlaylistScope.USER.value, _bot, arg, guild=ctx.guild, author=ctx.author
|
PlaylistScope.USER.value, _bot, arg, guild=ctx.guild, author=ctx.author
|
||||||
)
|
)
|
||||||
|
|
||||||
if not user_matches and not guild_matches and not global_matches:
|
if not user_matches and not guild_matches and not global_matches:
|
||||||
raise commands.BadArgument(_("Could not match '{}' to a playlist.").format(arg))
|
raise commands.BadArgument(_("Could not match '{}' to a playlist.").format(arg))
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user