修复大文件mp3失去歌曲信息的bug

This commit is contained in:
TNTcraftHIM 2020-08-28 03:20:50 +08:00
parent 61f5229365
commit c012a41435
2 changed files with 2 additions and 2 deletions

View File

@ -282,7 +282,7 @@
}, },
{ {
"name": "neteasemusic", "name": "neteasemusic",
"version": "1.9", "version": "2.0",
"section": "daily", "section": "daily",
"maintainer": "TNTcraftHIM", "maintainer": "TNTcraftHIM",
"size": "22.6 kb", "size": "22.6 kb",

View File

@ -389,7 +389,7 @@ async def nem(context):
caption=cap, caption=cap,
link_preview=False, link_preview=False,
force_document=False, force_document=False,
attributes=(DocumentAttributeAudio(0),) attributes=(DocumentAttributeAudio(0, False, info['title'], info['artist']),)
) )
try: try:
if reply.sender.is_self: if reply.sender.is_self: