小bug修复

This commit is contained in:
TNTcraftHIM 2020-08-28 01:22:54 +08:00
parent 68b0195117
commit 369784be24
2 changed files with 2 additions and 2 deletions

View File

@ -282,7 +282,7 @@
}, },
{ {
"name": "neteasemusic", "name": "neteasemusic",
"version": "1.7", "version": "1.8",
"section": "daily", "section": "daily",
"maintainer": "TNTcraftHIM", "maintainer": "TNTcraftHIM",
"size": "22.5 kb", "size": "22.5 kb",

View File

@ -379,7 +379,7 @@ async def nem(context):
br = "#" + str(eyed3.mp3.Mp3AudioFile(name).info.bit_rate[1]) + "kbps " br = "#" + str(eyed3.mp3.Mp3AudioFile(name).info.bit_rate[1]) + "kbps "
alias = "" alias = ""
if info['alias']: if info['alias']:
alias = "\n\n__" + info['alias'][0].replace(" ","__") + "__" alias = "\n\n__" + info['alias'][0] + "__"
cap += "\n#NeteaseMusic " + br + alias cap += "\n#NeteaseMusic " + br + alias
await context.edit(f"{title}上传中 . . .") await context.edit(f"{title}上传中 . . .")
await context.client.send_file( await context.client.send_file(