R
R
rodiongoshev2020-01-01 20:21:47
Node.js
rodiongoshev, 2020-01-01 20:21:47

How to get the number of people and bots?

Recently, lines of code that counted the number of people and bots began to work incorrectly.

message.guild.members.filter(m => m.user.bot).size
message.guild.members.filter(m => !m.user.bot).size

Tried to find a solution, didn't work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-01-01
@rodiongoshev

*cache.filter

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question