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