调整json数据
This commit is contained in:
@@ -331,7 +331,7 @@ class GuessSongPlugin(MessagePluginInterface):
|
||||
return {}
|
||||
|
||||
# 从歌曲列表中随机选择一首
|
||||
song_list = json_data.get("data")
|
||||
song_list = json_data
|
||||
if not song_list or not isinstance(song_list, list) or len(song_list) == 0:
|
||||
self.LOG.error(f"未找到歌曲列表或列表为空")
|
||||
return {}
|
||||
|
||||
Reference in New Issue
Block a user