Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

Repository files navigation

npm installinfo
npm versionnpm downloads

The Unofficial API Module For Discord Lists Development in JavaScript.

Installation

Using npm

npm i dldapi

Using yarn

yarn add dldapi


Methods

  • .postStats()
  • More coming soon

Example(s)

Methods usage:

constDLDAPI=require('dldapi');constdld=newDLDAPI('BOT_ID','API_KEY');
  • .postStats()
dld.postStats('SERVER_COUNT').then(console.log);

Basic Example

constDLDAPI=require('dldapi');module.exports=(client)=>{constdld=newDLDAPI(client.user.id,"EXAMPLE");dld.postStats(client.guilds.cache.size).then((r)=>{console.log(r);}).catch((err)=>{console.log(err);});};

OR

constDLDAPI=require('dldapi');module.exports=async(client)=>{constdld=newDLDAPI(client.user.id,"EXAMPLE");letres=awaitdld.postStats(client.guilds.cache.size);console.log(res);};

About

The unofficial Discord Lists Development API Module.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages