I want to get the "bio" value from "User" object. The image below shows what I mean:
I get this object when I run this code using discordjs-selfbot-v13 npm. The code.
I tried to console it like that:
console.log(await member.getProfile().bio)
And like this too:
console.log(await member.getProfile()[0].bio)
And a lot of other code, but they didn't work.
CodePudding user response:
You have to resolve the promise first:
console.log((await member.getProfile()).bio)