M
M
Mikle1234567892020-06-08 16:04:57
Node.js
Mikle123456789, 2020-06-08 16:04:57

How to make such server statistics in discord?

I meet on servers, such statistics. I don’t know how to do it, can someone send the code for the bot to do this, on node.js, please.
5ede3761f1edd928694575.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stepan Kuznetsov, 2020-06-08
@aeonixlegit

It is unlikely that anyone will throw off the code, here is a "question-answer", and not "write the code for me for thanks", but it is quite simple to implement it.
1. Create 3 Voice channels, save their ID for later editing, block access to them.
2. Every N seconds, make a request for the number of participants from them, subtract participants with the tag "bot"
3. Edit the name of the Voice channel to the one we need with the number of participants.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question