title: Discord.js test if a user is offline
body: <p>I'm working on my bot and I can't get it to respond. I am offline so I'm testing on myself.</p>
  
  <p>Here is my js:</p>
  
  <pre><code>    if (member[message.guild.id].id.user.presence.status === "offline") {
      client.channel.get(status[message.guild.id]).send("Offline");
      }
  </code></pre>
  
  <p>When it refers to member its a json file and here is its value if this helps</p>
  
  <pre><code>{
    "719634604008538192": {
      "id": "638368326996983848",
      "bot": false,
      "username": "丂んﾑW刀 りの乇丂",
      "discriminator": "2435",
      "avatar":  "afbec0b7cc719ba3d103a60bf72e220e",
      "lastMessageChannelID": "719969405034954834",
      "flags": 0,
      "createdTimestamp": 1572269269466,
      "defaultAvatarURL": "https://cdn.discordapp.com/embed/avatars/0.png",
      "tag": "丂んﾑW刀 りの乇丂#2435",
      "avatarURL": "https://cdn.discordapp.com/avatars/638368326996983848/afbec0b7cc719ba3d103a60bf72e220e.webp",
      "displayAvatarURL":
  "https://cdn.discordapp.com/avatars/638368326996983848/afbec0b7cc719ba3d103a60bf72e220e.webp"
    }
  }
  </code></pre>
  
  <p>I didn't get any errors but I think it's just the if statement not being true.</p>