From 4721c441017ef0eafc298dad7d74bac9b1d9912a Mon Sep 17 00:00:00 2001 From: Mantouisyummy <51238168+Mantouisyummy@users.noreply.github.com> Date: Mon, 11 Mar 2024 17:16:35 +0800 Subject: [PATCH] fix: get local tracks failed. --- cogs/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/commands.py b/cogs/commands.py index bb72f87..adf9dd8 100644 --- a/cogs/commands.py +++ b/cogs/commands.py @@ -271,7 +271,7 @@ async def play( "No results found with lavalink for query %s, checking local sources", query, ) - results: LoadResult = await player.node.get_tracks(query, check_local=True) + results: LoadResult = await self.bot.lavalink.get_local_tracks(query) if not results or not results.tracks: # If nothing was found return await ctx.interaction.edit_original_response(