From 228ca7f9c03eec1bb8bb1ebc2b9404ca42ea8cc5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 20 Apr 2022 04:50:42 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20=E6=94=B9=E8=BF=9B=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/music/selecter.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin/music/selecter.go b/plugin/music/selecter.go index 2afc68a8..3e1819fb 100644 --- a/plugin/music/selecter.go +++ b/plugin/music/selecter.go @@ -143,11 +143,10 @@ func cloud163(keyword string) message.MessageSegment { "keywords": []string{keyword}, } // 通过API 搜索音乐信息 第一首 - // 返回音乐卡片 + // 返回音乐卡片 return message.Music("163", gjson.ParseBytes(netPost("https://nemapi.windis.xyz/search", data, headers)).Get("result.songs.0.id").Int()) } - // qqmusic 返回QQ音乐卡片 func qqmusic(keyword string) message.MessageSegment { // 搜索音乐信息 第一首歌