teamnexonapi.js
v0.0.1-alpha
Published
A official www.teamnexon.tk api.
Downloads
4
Maintainers
Readme
teamnexonapi.js
Support: https://www.teamnexon.tk/dc NPM: npmjs.com/package/teamnexonapi.js
Installation
If you have trouble with the installation, please feel free to visit our discord address.
npm i teamnexonapi.js
const vCodes = require("teamnexonapi.js");
const dbl = new vCodes("TOKEN-HERE", client);
client.on("ready", async () => {
dbl.serverCount();
// console.log("Server count posted")
let hasVote = await dbl.hasVoted("356031192849580033");
if(hasVote === true) {
console.log("Voted")
} else {
console.log("Vote please.")
}
let search = await dbl.search("644586079705497610")
console.log(search)
/*
{
avatar: 'https://cdn.discordapp.com/avatars/644586079705497610/8cf145d2189d76cc110101b7a69c6b20.webp',
botID: '644586079705497610',
username: 'Nexon',
discrim: '2830',
shortDesc: 'Cheer up your own server with 🎶',
prefix: 'n! [changable]',
votes: 31,
ownerID: '356031192849580033',
owner: 'zKillerPT',
coowners: [ '' ],
tags: [ 'Moderation', 'NSFW', 'Music' ],
longDesc: longDesc,
certificate: 'Certified'
}
*/
});