点歌功能调整API接口

This commit is contained in:
liuwei
2025-06-03 10:45:28 +08:00
parent 00eccd4f2e
commit 042678e527

View File

@@ -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, "未找到歌曲"