B
B
beloffffffffff2020-12-11 19:33:26
Node.js
beloffffffffff, 2020-12-11 19:33:26

How to make the number of members with a role?

How to make it so that the number of people with a role is written (namely, the number)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-12-11
@beloffffffffff

let role = message.guild.roles.cache.get("ID_роли")
console.log(role.members.size)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question