diff --git a/code/cogs/play.py b/code/cogs/play.py index 02c0a11..db21cf7 100644 --- a/code/cogs/play.py +++ b/code/cogs/play.py @@ -240,8 +240,8 @@ class Play(commands.Cog): LoadType.EMPTY, LoadType.ERROR, ): - scsearch = f"scsearch:{query}" - results = await player.node.get_tracks(scsearch) + ytmsearch = f"ytmsearch:{query}" + results = await player.node.get_tracks(ytmsearch) if not results.tracks or results.load_type in ( LoadType.EMPTY, diff --git a/code/utils/custom_sources.py b/code/utils/custom_sources.py index 6f5d65a..aea74eb 100644 --- a/code/utils/custom_sources.py +++ b/code/utils/custom_sources.py @@ -24,8 +24,8 @@ class CustomAudioTrack(DeferredAudioTrack): LoadType.EMPTY, LoadType.ERROR, ): - scsearch = f"scsearch:{self.title} {self.author}" - results = await client.get_tracks(scsearch) + ytmsearch = f"ytmsearch:{self.title} {self.author}" + results = await client.get_tracks(ytmsearch) if not results.tracks or results.load_type in ( LoadType.EMPTY,