Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dbsl The Official dbsl.site API

npm version npm downloads

npm banner

Installation

npm :

npm install dbsl

yarn :

yarn add dbsl

Pages Setup :

const DBSL = require("dbsl");
const client = new Client(); // - - discord.js v12 or v13 - -

new DBSL.AutoPoster({client : client , token : "dbslToken"}).start(() => {
  console.log("[DBSL] Successfully"); // - - Automatically checkes every (2) minute - -
  });
let dbsl = new DBSL.Vote({url: "Domain Url", token: "dbslToken", port: 8080}).start(() => {
  console.log("[DBSL] Successfully started votes");
});

dbsl.on("vote" , (vote) => {
  console.log(vote); /* OUTPUT: 
    {
      id: "123456789012345678", <-- USER ID
      votes : AllVotesCounts
    }
*/
});

About

Official dbsl.site API

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages