let hasVote = await dbl.hasVoted("USER ID"); if(hasVote === true) { console.log("Voted") } else { console.log("Vote please.") }
{ "voted": "true/false" }
Last updated 3 years ago
Was this helpful?