A
A
anubis4652020-08-20 17:04:05
Node.js
anubis465, 2020-08-20 17:04:05

Discord.js How to display online members on a server?

I searched on the Internet how to withdraw participants online, but did not find anything. Yeah, I don't really understand how it's supposed to work. I'm new in this business.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-08-20
@anubis465

message.guild.members.cache.filter(member.presence.status === 'online')

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question