Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

416
Views
How I can make discord.js bot statistics on website?

I have one short and probably easy question. So - how can I import bot stats to my website?

Mainly I mean the number of:

• users (${client.users.cache.size}),

• guilds (${client.guilds.cache.size})

• channels (${client.channels.cache.size}).

I know that it can be done in a simple way on the basis of "information exchange" between files, but they must be for 1 VPS - I do not have such a possibility, unfortunately. Is there any other way? If so, how can I do it? (If someone already knows how to do it, I would like to ask for a "more" description of this issue, because I had no contact with the "information exchange" between the website and the bot)

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

You can make a REST Api for your bot that gives these stats to some API endpoint, and then request that API from your website using fetch.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!