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

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay