点歌功能调整API接口
This commit is contained in:
@@ -109,7 +109,7 @@ class MusicPlugin(MessagePluginInterface):
|
|||||||
try:
|
try:
|
||||||
# 搜索歌曲
|
# 搜索歌曲
|
||||||
song_info = self._search_song(user_song_name)
|
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)
|
await bot.send_text_message((roomid if roomid else sender), f"❌未找到歌曲:{user_song_name}", sender)
|
||||||
return False, "未找到歌曲"
|
return False, "未找到歌曲"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user