New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dscbots-tk

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dscbots-tk

A official dscbots-tk api

  • 1.0.3
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

NPM: npmjs.com/package/dscbots-tk

NPM version NPM downloads

npm installnfo

Installation

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

  • npm i dscbots-tk
1. Does it have any GitHub Repository?

Ans: Yes It Is Here

2. What is it's uses?

Ans: To get the daily vote count, server count and information about your bot. Examples: avatar, botID, discriminator, shortDescription, prefix, votes, serverCount, ownerID, owner, co-owners, tags, longDescription, certificate etc.

3. How can I get my bot's server count?

Ans: JavaScript:

const dscbots = require("dscbots-tk");
const dsl = new disbots("TOKEN-HERE", client);

client.on("ready", async () => {
  dsl.serverCount();
  console.log("Server count posted")

4. How can I get my bot's vote count?

Ans:

let hasVote = await dsl.hasVoted("Your-bot-id");
  if(hasVote === true) {
    console.log("Voted")
  } else {
    console.log("Vote please.")
  }
  
  
  let search = await dsl.search("Your-bot-id")
  console.log(search)

5. Full Example?

Ans:

const dscbots = require("dscbots-tk");
const dsl = new disbots("TOKEN-HERE", client);

client.on("ready", async () => {
  dsl.serverCount();
  console.log("Server count posted")
  
  let hasVote = await dsl.hasVoted("your-bot-id");
  if(hasVote === true) {
    console.log("Voted")
  } else {
    console.log("Vote please.")
  }
  
  
  let search = await dsl.search("Your-bot-id")
  console.log(search)

  /* SearchResults
  {
    avatar: '',
    botID: '',
    username: '',
    discrim: '',
    shortDesc: '',
    prefix: '? [changable]',
    votes: 25,
    ownerID: '',
    owner: '',
    coowners: [ '' ],
    tags: [ 'Moderation', 'NSFW', 'Music' ],
    longDesc: longDesc,
    certificate: 'Certified'
  }
  */
});

Questions?

Come talk to us here:

dscbots.tk

Keywords

FAQs

Package last updated on 21 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc