TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

A growth increments for your Discord bots

disgrow is a module for Discord bots. It allows you to check your bot's growth statistics,
Update hourly, and the hope that it will be reusable for every bot developers.
The prerequisites should be met before using this library.

ContributingDocumentationReport Issues

The problem

There is a plenty monitoring and observability service for cloud-scale application, such as StatsD, DataDog, Prometheus, and etc. Those services are great for monitoring, but require a lot of effort to posts every parts and setup properly, many people probably still confused how to extends their discord bots with those services. Apart from complexity, the services is running, means It will consume extra Memory than usual, especially DataDog.

The solution

There is a simple way to monitor your bot's growth. This library allows you to check your bot's growth statistics, no need posts any data, no need to extends or change your bot constructor, out of the box and less of pain.

For non JavaScript libraries, there is an API for it!


Don't expect more with zero configuration, the point is it can give you actionable data related your bots increments.

  • Summary stats daily and hourly
  • Average increments
  • Approximate increments
  • Compare with other bots
  • Expect even more features in the future..
NOTE: This module just give you an actionable data. If you really want to build a real monitoring service with a bar chart, fancy graph or anything, use real analytics and interactive visualization web apps


yarn add disgrow / npm i disgrow


NOTE: NodeJS 14.x or higher

Your bot must be listed on top.gg, because this module consume top.gg data, and You must Posting bot stats at least once per hour, there is a stats_hourly property in this module, otherwise null as it misleading.


The documentation can be found https://sinkaroid.github.io/disgrow


import Disgrow from "disgrow";

const bot = new Disgrow("724047481561809007");
bot.myStats().then((res) => { console.log("myStats", res); });

CommonJS should do with const Disgrow = require("disgrow");

The returns

  • res.data: object
    • The bot's information
  • res.data.stats_daily : object
    • List of daily stats in the last 25 days
  • res.data.stats_hourly : object
    • List of hourly stats in the last 25 hours
  • res.average_server_growth_hourly : number
    • Average server growth hourly
  • res.average_server_growth_daily : number
    • Average server growth daily
  • res.average_server_growth_monthly : number
    • Average server growth monthly
  • res.average_votes_growth_monthly : number
    • Average votes growth monthly on top.gg
  • res.approximate_credits_rewards_monthly : string
  • res.approximate_server_growth_three_months : number
    • Approximate server growth after 3 months
  • res.approximate_server_growth_annually : number
    • Approximate server growth after 1 year
         "date":"June 25, 2022",
         "date":"June 24, 2022",
         "date":"June 22, 2022",
         "date":"June 21, 2022",
   ], // 25 items
         "date":"Jun, 25 24:00",
         "date":"Jun, 25 23:00",
         "date":"Jun, 25 22:00",
         "date":"Jun, 25 21:00",
         "date":"Jun, 25 20:00",
   ], // 25 items
   "approximate_credits_rewards_monthly":"20.485 USD",


  • stats_daily and stats_hourly are limited to 25 items, If you want to save them all in every months You should save them in somewhere else, like database.


This tool can be freely copied, modified, altered, distributed without any attribution whatsoever. However, if you feel like this tool deserves an attribution, mention it. It won't hurt anybody

Package Sidebar


npm i disgrow

Weekly Downloads






Unpacked Size

16.5 kB

Total Files


Last publish


  • sinkaroid