From 0feacee7f26fe498634d5991e24151afab0a9d9c Mon Sep 17 00:00:00 2001 From: Draper <27962761+Drapersniper@users.noreply.github.com> Date: Wed, 28 Oct 2020 16:07:50 +0000 Subject: [PATCH] [Audio] Fix local search (#4553) --- redbot/cogs/audio/core/commands/player.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redbot/cogs/audio/core/commands/player.py b/redbot/cogs/audio/core/commands/player.py index a87e685b4..68ce87768 100644 --- a/redbot/cogs/audio/core/commands/player.py +++ b/redbot/cogs/audio/core/commands/player.py @@ -643,9 +643,9 @@ class PlayerCommands(MixinMeta, metaclass=CompositeMetaClass): ` to search on SoundCloud instead of YouTube. """ - if not isinstance(query, (str, Query)): + if not isinstance(query, (str, list, Query)): raise RuntimeError( - f"Expected 'query' to be a string or Query object but received: {type(query)} - this is an unexpected argument type, please report it." + f"Expected 'query' to be a string, list or Query object but received: {type(query)} - this is an unexpected argument type, please report it." ) async def _search_menu(