Skip to content

OliverCordingl1/discord-member-counter

Repository files navigation

Discord Server Member Counter

This is a Discord Bot that more or less does what it says on the tin.

It currently returns the:

  • total member count
  • bot member count
  • adjusted member count

and modifies the status based on how many servers it is in, and how many people are in them.

Install & Setup

Prerequisites

To run this bot, you must have the following installed on your system:

Download

  • First, clone the repository by running:
git clone https://github.com/OliverCordingl1/discord-member-counter.git
cd ./discord-member-counter
  • If you intend to play around with the code, run
npm i

otherwise run

npm i --only=prod
  • Now, create a file called .env in the root project directory, and write the following:

    DISCORD_API_TOKEN="<YOUR API TOKEN (NEVER SHARE THIS!)>"
    

    (Your DISCORD_API_TOKEN can be created by creating a new bot application in the Discord Developer Dashboard)

  • Finally, you can start the bot with

    npm run start

If you have any questions, please don't hesitate to ask them in an issue, just make sure you do your own research first 😄

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published