Show your Discord bot's server count on your Discord profile using Top.gg's API with Discord RPC.
- Your bot must be published and approved on Top.gg.
- You must use the Top.gg API in your bot process to post your server count to Top.gg.
- Clone the repo to your PC.
- Install the NPM packages.
- Create your
.env
file to use your Top.gg API key. - In your
.env
file you need to includeAPI_KEY=YOUR_TOPGG_BOT_TOKEN
- Customize your RPC data in
config.json
to use rich presence assets from your bot (https://discord.com/developers/applications/:bot_id/rich-presence/assets
). - Save your
.env
andconfig.json
files. - Open your Discord desktop client.
- Start the process using
node .
or use PM2 or equivalents.
If you are having issues with seting up your server count on your Top.gg bot please contact slat#3976 on Discord