Socket
Socket
Sign inDemoInstall

@foxreistr/tbl-api.js

Package Overview
Dependencies
7
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @foxreistr/tbl-api.js

Turkey Bot List API Library.


Version published
Weekly downloads
9
Maintainers
2
Created
Weekly downloads
 

Readme

Source

tbl-api.js

Turkey Bot List API Library.

How to use

Example:

const TBL = require("@foxreistr/tbl-api.js");
const tbl = new TBL("TBL_TOKEN_HERE", client); // autoposts by default every 30 minutes if client is provided

// search for bots
(async () => {
    const bots = await tbl.search('turkey');
    console.log(bots);
})();

// fetch image embeds
const fs = require('fs');
(async () => {
    const embed = await tbl.embed('792986882215510067');
    fs.writeFileSync('image.png', embed);
})();

// fetch most 10 liked bots
(async () => {
    const mostLiked = await tbl.fetchMostLikedBots();
    console.log(mostLiked);
})();

// fetch most 10 recent bots
(async () => {
    const recentBots = await tbl.fetchLatestBots();
    console.log(recentBots);
})();

If you need any support, join the support server.

Keywords

FAQs

Last updated on 09 May 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc