Q:

get status of a user discord js

    user.presence.status
0
You'd want to use either:
> user.presence.status
or 
> member.user.presence.status

This'll return "online", "idle", "dnd" or "offline"
Ex: 
message.channel.send(`User's status is: ${user.presence.status}`);

You can find everything in the documentation here:
https://discord.js.org/#/docs/main/stable/typedef/PresenceStatus
-1

New to Communities?

Join the community