idle-api
v0.4.4
Published
The offical idle Bot List API Poster.
Downloads
6
Readme
Hello there Idle User!
This API is for Idle Bot List! Found Here
Post Stats
const IdleAPI = require("idle-api");
let API = new IdleAPI("TOKEN");
const Discord = require('discord.js');
const client = new Discord.Client
client.on('ready', ()=> {
API.postStats(client.guilds.size, client.user.id);
setInterval(function() {
API.postStats(client.guilds.size, client.user.id);
}, 900000);
});
- Get a Bots Info.
let Info = API.getBot("ID");
console.log(Info)
- Get a Users Info.
let Info = API.getUser("ID");
console.log(Info)
- Get All the Bots on our site.
let Bots = API.getBots
console.log(bots)