1.3.0 • Published 1 year ago

gohlist.js v1.3.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
1 year ago

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');

1.2.0

1 year ago

1.2.0-b

1 year ago

1.3.0

1 year ago

1.1.0

1 year ago

1.0.2-b

1 year ago

1.0.1-b

1 year ago

1.0.0-b

1 year ago