From 312e2f12beaae6e53f929c62c4285386d4c6ffdb Mon Sep 17 00:00:00 2001 From: Parker Date: Fri, 12 Apr 2024 00:28:21 -0500 Subject: [PATCH] Remove SoundCloud searching SoundCloud was returning too many tracks that were not as expected (weird versions/recordings/cover artists, etc.) so it has been removed. --- code/cogs/play.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/cogs/play.py b/code/cogs/play.py index f64b70b..855d645 100644 --- a/code/cogs/play.py +++ b/code/cogs/play.py @@ -132,15 +132,15 @@ class Play(commands.Cog): else: if not url_rx.match(query): - ytsearch = f"scsearch:{query}" + ytsearch = f"ytsearch:{query}" results = await player.node.get_tracks(ytsearch) if not results.tracks or results.load_type in ( LoadType.EMPTY, LoadType.ERROR, ): - scsearch = f"dzsearch:{query}" - results = await player.node.get_tracks(scsearch) + dzsearch = f"dzsearch:{query}" + results = await player.node.get_tracks(dzsearch) else: results = await player.node.get_tracks(query) @@ -151,7 +151,7 @@ class Play(commands.Cog): LoadType.ERROR, ): embed.title = "Nothing Found" - embed.description = "Nothing for that query could be found. If this continues happening for other songs, please run `/bug` to let the developer know." + embed.description = "Nothing for that query could be found. If this continues happening for other songs, please run to let the developer know." return await interaction.response.send_message( embed=embed, ephemeral=True )