title: Discord.js - .createdAt() is not a valid function
body: <p>I'm trying to do is whenever someone joins the server, the bot sends a rich embed with their ID, their user creation date and the new total members, but whenever i run it and test it, it says that <code>.createdAt()</code> is not a valid function, so i'm completely lost as to what to do.</p>
  
  <hr>
  
  <pre><code>client.on("guildMemberAdd", member =&gt; {
    let mlogchannel = member.guild.channels.find((channel =&gt; channel.name === "member-logging"));
    if (mlogchannel) {
      console.log(client.users.find(user =&gt; user.id === member.id).createdAt())
      var cdate = moment.utc(User.createdAt()).format("dddd, MMMM Do YYYY, HH:mm");
      const sInfo = new Discord.RichEmbed()
        .setTitle(`Member joined`)
        .setAuthor(`${member.displayName}`)
        .setColor(8528115)
        .setFooter(`User ID: ${member.id}`)
        .setTimestamp()
        .setThumbnail(member.user.createdAt())
        .addField("Total members", `${Guild.members.filter(member =&gt; !member.user.bot).size}`, true)
        .addField("Creation Date:", `${cdate}`, true);
      let ageS = moment(cdate).fromNow(true)
      let ageA = ageS.split(" ");
      if (ageA[1] = "days" &amp;&amp; ageA[2] &gt;= 30) {
        Guild.channels.find((channel =&gt; channel.name === "member-logging").send(sInfo));
        mlogchannel.send("**WARNING!**\nThis account is less than 30 days old and may have been made to bypass a server mute or ban!")
      }
      if (ageA[1] != "days") {
        mlogchannel.send(sInfo)
      }
      if (!mlogchannel) {
        return console.log(`${Guild.name}:${Guild.ID} Has not set up a member log channel!`)
      }
    }
  })
  </code></pre>