From b208d52a3a75548657bd0c82d6b1cd3409eed0fe Mon Sep 17 00:00:00 2001 From: Nat1anWasTaken Date: Thu, 6 Jun 2024 15:41:03 +0800 Subject: [PATCH] fix(lava/cogs/commands.py): update lofi search query to 'lofi radio' --- lava/cogs/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lava/cogs/commands.py b/lava/cogs/commands.py index 59c80468..5429969e 100644 --- a/lava/cogs/commands.py +++ b/lava/cogs/commands.py @@ -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:{query}") + result = await self.bot.lavalink.get_tracks(f"ytsearch:lofi radio") await self.play(interaction, query=result.tracks[0].uri)