1.0.0 • Published 5 years ago
discordextremelist.xyz v1.0.0
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.
1.0.0
5 years ago