rache.api
v1.0.1
Published
A official botcode.rache.ml api.
Downloads
3
Maintainers
Readme
rache.api
Support: http://botcode.rache.ml/dc NPM: npmjs.com/package/rache.api
Installation
If you have trouble with the installation, please feel free to visit our discord address.
npm i rache.api
const rachedbl = require("./rache.api");
const dbl = new rachedbl("TOKEN-HERE", client);
client.on("ready", async () => {
dbl.serverCount(); // => Note: Only discord.js.
// console.log("Server count posted")
let hasVote = await dbl.hasVoted("761945664447840256");
if(hasVote === true) {
console.log("Voted")
} else {
console.log("Vote please.")
}
let search = await dbl.search("842324640536854549")
console.log(search)
/*
{
avatar: 'https://cdn.discordapp.com/avatars/842324640536854549/80f4b6abce55f44472baf6b481c97c32.png?size=1024',
botID: '842324640536854549',
username: 'Rache',
discrim: '4162',
shortDesc: 'Rache Official Bot',
prefix: '! [changable]',
votes: 31,
ownerID: '761945664447840256',
owner: 'Ludex',
coowners: [ '' ],
tags: [ 'Moderation', 'NSFW', 'Music' ],
longDesc: longDesc,
certificate: 'Certified'
}
*/
});