Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

discordextremelist.xyz

1.0.0 • Public • Published

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.

Install

npm i discordextremelist.xyz

DownloadsWeekly Downloads

2

Version

1.0.0

License

Apache-2.0

Unpacked Size

5.91 kB

Total Files

8

Last publish

Collaborators

  • avatar