Skip to content

Commit

Permalink
fix: get local tracks failed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mantouisyummy authored Mar 11, 2024
1 parent d16119b commit 4721c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 4721c44

Please sign in to comment.