Skip to content

Cybrancee/cybralist-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

cybralist.js

Join our discord
Support: https://cybralist.com/discord
NPM: npmjs.com/package/cybralist.js

Installation

If you have trouble with the installation, please feel free to visit our discord address.

  • npm i cybralist.js

Define Module & Client

const Discord = require("discord.js");
const client = new Discord.Client();
const cybralist = require("cybralist.js");
const dbl = new cybralist("TOKEN-HERE", client);

client.login("BotToken");

Server Count & Shard Count Posting

client.on("ready", async () => {
  dbl.serverCount();
  /* 
  -> Server count posted. 
  or 
  -> Server count & shard count posted.
  */

});

Vote Checking

let hasVote = await dbl.hasVoted("714451348212678658"); // -> User ID
  if(hasVote === true) {
      console.log("Voted")
    } else {
      console.log("Vote please.")
  }
// -> Vote please.

Search on cybralist

let botFind = await dbl.search("779641401482805289");
console.log(botFind.username) // -> Allegro

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published