Merge pull request #37 from TNTcraftHIM/master

修复大文件mp3失去歌曲信息的bug
This commit is contained in:
Pentacene 2020-08-28 03:21:50 +08:00 committed by GitHub
commit 6075ab2b9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

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