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. - Customize your RPC data in
src/variables.json
to use rich presence assets from your bot (https://discord.com/developers/applications/:bot_id/rich-presence/assets
). - Save your
.env
andsrc/variables.json
files. - Open your Discord desktop client.
- Start the process using
node .
or use PM2 or equivalents.