This package has been deprecated

Author message:

WARNING: This package is outdated due to our domain change, all requests made through using this package is outdated and will not be maintained.

mythical-api

0.4.1 • Public • Published

Hello there Mythical User!

  • This API is for Mythical Bot List! Found Here

  • Post Stats

const MythicalAPI = require("mythical-api");
let API = new MythicalAPI("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

Readme

Keywords

none

Package Sidebar

Install

npm i mythical-api

Weekly Downloads

20

Version

0.4.1

License

ISC

Unpacked Size

5.38 kB

Total Files

7

Last publish

Collaborators

  • teacup99