mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 22:00:11 +08:00
🎨 改进代码样式
This commit is contained in:
parent
c0fa7efb27
commit
228ca7f9c0
@ -143,11 +143,10 @@ func cloud163(keyword string) message.MessageSegment {
|
|||||||
"keywords": []string{keyword},
|
"keywords": []string{keyword},
|
||||||
}
|
}
|
||||||
// 通过API 搜索音乐信息 第一首
|
// 通过API 搜索音乐信息 第一首
|
||||||
// 返回音乐卡片
|
// 返回音乐卡片
|
||||||
return message.Music("163", gjson.ParseBytes(netPost("https://nemapi.windis.xyz/search", data, headers)).Get("result.songs.0.id").Int())
|
return message.Music("163", gjson.ParseBytes(netPost("https://nemapi.windis.xyz/search", data, headers)).Get("result.songs.0.id").Int())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// qqmusic 返回QQ音乐卡片
|
// qqmusic 返回QQ音乐卡片
|
||||||
func qqmusic(keyword string) message.MessageSegment {
|
func qqmusic(keyword string) message.MessageSegment {
|
||||||
// 搜索音乐信息 第一首歌
|
// 搜索音乐信息 第一首歌
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user