TheHamkerCat 5 年之前
父節點
當前提交
2e185dfa1b
共有 1 個文件被更改,包括 1 次插入 和 0 次删除
  1. 1 0
      wbb/modules/music.py

+ 1 - 0
wbb/modules/music.py

@@ -154,6 +154,7 @@ async def deezsong(_, message):
                 audio=song,
                 title=title,
                 performer=artist,
+                duration=songs[0].duration,
                 caption=f"「 `{format_size(await file_size_from_url(url))}` 」")
         os.remove(song)
         await m.delete()