1.0.0 • Published 5 years ago

discordextremelist.xyz v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
5 years ago

Discord Extreme List

A simple library for interacting with the Discord Extreme List API.

Example

const DEL = require('discordextremelist.xyz');
const client = new DEL.Client('Bot ID', 'API Token');

client.getBot('507970352501227523').then((bot) => {
    console.log(bot);
}).catch((e) => {
    console.error(e);
});

client.getUser('478255216588750858').then((user) => {
    console.log(user);
}).catch((e) => {
    console.error(e);
});

client.getWidget('507970352501227523').then((widget) => {
    console.log(widget);
}).catch((e) => {
    console.error(e);
});

client.updateCount(123).then((bot) => {
    console.log('Server count has been updated', bot);
}).catch((e) => {
    console.error(e);
});

License

This library follows the Apache-2.0 license.