get status of a user discord js
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