1.0.0 • Published 3 years ago
rcodes-api v1.0.0
RCODES-API
https://www.rcodes.ml If you want to control your bot and give various prizes, this Api is for you!
Examples:
const RCODES = require("rcodes-api");
const rcodes = new RCODES("RCODES PIRATIVE BOT TOKEN");
/* Vote Control */
rcodes.hasVoted("CONTROL USER ID").then((control) => {
if (!control) {
console.log("No Votes");
} else {
console.log("There are votes");
}
});
/* Vote Control */
/* Stats Update */
rcodes.postStats({
serverCount: client ? client.guilds.cache.size : 1,
});
/* Stats Update */
What is RCODES PIRATIVE BOT TOKEN?
1.0.0
3 years ago