gohlist.js

1.3.0 • Public • Published

npm install
Do you need my help? Visit our Discord server.

Installation

npm i gohlist.js --save
yarn add gohlist.js

Token

Token can be found at: https://list.gohbot.live/bot/:botId/edit

Let's update bot data

const GohList = require('gohlist.js');
const dbl = new GohList();
const { Client, Collection, GatewayIntentBits } = require("discord.js");
const client = new Client({
    intents: [
        GatewayIntentBits.Guilds,
    ],
});

client.on('ready', () => {
  let token = 'TOKEN for API GohList'
  let guildCount = client.guilds.cache.size;
  let shardCount = 1;
  dbl.stats(token, guildCount, shardCount, () => console.log("Stats updated on GohList.")); // => Stats updated on Gohlist.
})

client.login('TOKEN');

Developed with ❤️ by Samuel Vitor

Readme

Keywords

Package Sidebar

Install

npm i gohlist.js

Weekly Downloads

1

Version

1.3.0

License

Apache-2.0

Unpacked Size

12.5 kB

Total Files

12

Last publish

Collaborators

  • samuelvitordev