From 042678e52713392b06377dccd518e919a303f9c4 Mon Sep 17 00:00:00 2001 From: liuwei Date: Tue, 3 Jun 2025 10:45:28 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E6=AD=8C=E5=8A=9F=E8=83=BD=E8=B0=83?= =?UTF-8?q?=E6=95=B4API=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/music/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/music/main.py b/plugins/music/main.py index b668615..403e181 100644 --- a/plugins/music/main.py +++ b/plugins/music/main.py @@ -109,7 +109,7 @@ class MusicPlugin(MessagePluginInterface): try: # 搜索歌曲 song_info = self._search_song(user_song_name) - if not song_info or not song_info.get("url"): + if not song_info or not song_info.get("play_url"): await bot.send_text_message((roomid if roomid else sender), f"❌未找到歌曲:{user_song_name}", sender) return False, "未找到歌曲"