DEV Community

cenimstar
cenimstar

Posted on

How do I display the number of servers in use on my site?

I have a discord bot and I need to display on my site the number of servers using it. how to do it?

Top comments (1)

Collapse
 
thomasbnt profile image
Thomas Bnt

Hello, you have a multitude of methods for that.

  1. You can get total servers from your Discord bot
  2. And save that in a database
  3. With a backend framework, like Fastify, get your database
  4. On your frontend website, fetch your API maked with Fastify, and show values
👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay