Skip to content

Commit

Permalink
fix(lava/cogs/commands.py): correct search query for lofi radio in ge…
Browse files Browse the repository at this point in the history
…t_tracks
  • Loading branch information
Nat1anWasTaken committed Jun 6, 2024
1 parent b208d52 commit 96d2c64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lava/cogs/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def __init__(self, bot: Bot):
description=Localized("播放 Lofi Radio", key="command.lofi.description")
)
async def lofi(self, interaction: ApplicationCommandInteraction):
result = await self.bot.lavalink.get_tracks(f"ytsearch:lofi radio")
result = await self.bot.lavalink.get_tracks("ytsearch:lofi radio")

await self.play(interaction, query=result.tracks[0].uri)

Expand Down

0 comments on commit 96d2c64

Please sign in to comment.