title: Discord.js: How read users status with a bot on server?
body: <p>I wrote a little bot and need the status(Online,Offline,Idle) of all users on the server. I found <a href="https://discord.js.org/#/docs/main/master/class/Client?scrollTo=users" rel="noreferrer">https://discord.js.org/#/docs/main/master/class/Client?scrollTo=users</a></p>
  
  <pre><code>bot.on('ready', function() { console.log(bot.users); });
  </code></pre>
  
  <p>This show all users with:</p>
  
  <pre><code>'352....128': User { username: 'NAME', id: '352....128', discriminator: '5000' avatar: null, bot: false },
  </code></pre>
  
  <p>So there is no status. The Bot have no access for this? In embed.js I can read the status of all online and idle users (offline users are not listed): <a href="https://discordapp.com/api/guilds/SERVERID/embed.json" rel="noreferrer">https://discordapp.com/api/guilds/SERVERID/embed.json</a> </p>
  
  <pre><code>{"username": "NAME", "status": "online", "nick": "NICK", "avatar_url": "...", "avatar": "...", "discriminator": "5000", "id": "..."}
  </code></pre>
  
  <p>Is embed.json the only way to get the status of all online and idle users? So I need to install this package? <a href="https://www.npmjs.com/package/jsonfile" rel="noreferrer">https://www.npmjs.com/package/jsonfile</a> and read this file?</p>