fix(v3): repair musicalDown broken logics

This commit is contained in:
PRAS 2025-06-02 00:35:15 +06:00
parent 732c0d4c14
commit beccf2bf81

View File

@ -48,8 +48,8 @@ async function handleMediaDownload(
const { result } = data
const author = result.author
const username =
version === "v1" ? author.username : version === "v2" ? author.nickname : ""
console.log(result)
const username = version === "v1" ? author.username : author?.nickname || ""
Logger.success(
`${