1.0.1 • Published 2 years ago

spacecordjs v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

const spacebotlist = require("spacebotlist.js"); const dbl = new spacebotlist("TOKEN-HERE", client);

client.on("ready", async () => { dbl.serverCount(); // console.log("Server count posted")

let hasVote = await dbl.hasVoted("800344695069999144"); if(hasVote === true) { console.log("Voted") } else { console.log("Vote please.") }

let search = await dbl.search("800344695069999144") console.log(search) / { avatar: 'https://cdn.discordapp.com/avatars/800344695069999144/8d4499339467130069897e90d528b5b4.webp', botID: '800344695069999144', username: 'Fyso', discrim: '0507', shortDesc: 'Cool Bot', prefix: '.', votes: 2, ownerID: '715491864739840063', owner: 'SkyAlumny', coowners: '' , tags: 'Moderation', 'Fun' , longDesc: longDesc, certificate: 'Certified' } / });

1.0.1

2 years ago

1.0.0

2 years ago