1.2.3 • Published 4 years ago

nyxr v1.2.3

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

nyxr

An official module for interacting with the discordbots.site API

Installation

npm install nyxr

NOTE:

  • The api is still WIP (work in progress).

Example of posting server count with supported libraries (Discord.js and Eris)

const Discord = require("discord.js");
const client = new Discord.Client();
const DBS = require("nyxr");
const dbs = new DBS('Your discordbots.site token', client);	
//Optional events
dbs.on('posted', () => {
  console.log('Server count posted!');
})

dbs.on('error', e => {
 console.log(`Oops! ${e}`);
})
1.2.3

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago