fix(v3): repair musicalDown broken logics
This commit is contained in:
parent
732c0d4c14
commit
beccf2bf81
@ -48,8 +48,8 @@ async function handleMediaDownload(
|
|||||||
|
|
||||||
const { result } = data
|
const { result } = data
|
||||||
const author = result.author
|
const author = result.author
|
||||||
const username =
|
console.log(result)
|
||||||
version === "v1" ? author.username : version === "v2" ? author.nickname : ""
|
const username = version === "v1" ? author.username : author?.nickname || ""
|
||||||
|
|
||||||
Logger.success(
|
Logger.success(
|
||||||
`${
|
`${
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user