Discord.js - .createdAt() is not a valid function
问题 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 .createdAt() is not a valid function, so i'm completely lost as to what to do. client.on("guildMemberAdd", member => { let mlogchannel = member.guild.channels.find((channel => channel.name === "member-logging")); if (mlogchannel) { console.log(client.users.find(user => user.id === member.id)