0.4.4 • Published 4 years ago

idle-api v0.4.4

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

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)

NPM

0.4.4

4 years ago

0.4.3

4 years ago

0.4.2

4 years ago

0.4.1

4 years ago