mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-22 00:35:36 +00:00
网易云布局调整&内容add (#1)
This commit is contained in:
parent
91bb890de9
commit
0792aab1b0
@ -13,7 +13,7 @@ async def netease(context):
|
||||
data = json.loads(req.text)
|
||||
res = data['Comment'] + '\n\n来自 @' + data[
|
||||
'UserName'] + ' 在鸽曲"<a href="http://music.163.com/song/media/outer/url?id=' + str(data['SongId']) + '.mp3">' + \
|
||||
data['SongName'] + '</a>"-' + data['SongAutho'] + '</a>下方的评论'
|
||||
data['SongName'] + '--by' + data['SongAutho'] + '</a>' + '</a>下方的评论\n\n该评论获得了' + str(data['likedCount']) + '个赞!'
|
||||
await context.edit(res, parse_mode='html', link_preview=True)
|
||||
else:
|
||||
await context.edit("出错了呜呜呜 ~ 无法访问到 API 服务器 。")
|
||||
await context.edit("出错了呜呜呜 ~ 无法访问到 API 服务器 。")
|
||||
|
Loading…
Reference in New Issue
Block a user