Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Dexare/dbots

Folders and files

NameName
Last commit message
Last commit date
Apr 5, 2021
Apr 5, 2021
Apr 5, 2021
Apr 5, 2021
Apr 5, 2021
Apr 5, 2021
Apr 5, 2021
Apr 5, 2021
May 27, 2021
Apr 5, 2021
Apr 5, 2021
Apr 5, 2021
Apr 5, 2021
Apr 14, 2021
May 8, 2023
Apr 5, 2021

Repository files navigation

A Dexare module for dbots.

npm install @dexare/dbots
const { DexareClient } = require('dexare');
const DBotsModule = require('@dexare/dbots');

const config = {
  // All props in this config are optional, defaults are shown unless told otherwise
  dbots: {
    // The keys to use for the supported services, the default is an empty object
    keys: {
      discordbotsgg: '…',
      topgg: '…',
      lsterminalink: '…',
      carbon: '…'
    },
    // How often (in milliseconds) the poster should post its stats
    interval: 1800000,
    // Whether to autopost when the client is ready
    autopost: true,
    // The custom services to post to: https://dbots.js.org/#/docs/main/latest/examples/custom-service
    customServices: []
  }
}

const client = new DexareClient(config);
client.loadModules(DBotsModule);
// ...