user age logs fix cause im dumb

master
Kit Kasune 4 years ago
parent 521b5cbfa2
commit 9d84b9715f
  1. 4
      events/guildMemberAdd.js

@ -21,8 +21,8 @@ module.exports = async (client, member) => {
} }
member.guild.channels.cache.get('857097085915496468').send(new Discord.MessageEmbed() member.guild.channels.cache.get('857097085915496468').send(new Discord.MessageEmbed()
.setTitle("Uptime") .setTitle("New User's Account Age")
.setDescription(moment.preciseDiff(moment(client.users.cache.get(member).createdAt), moment())) .setDescription(moment.preciseDiff(moment(client.users.cache.get(member.id).createdAt), moment()))
.setColor('328ba8') .setColor('328ba8')
.setFooter("Luno") .setFooter("Luno")
.setTimestamp() .setTimestamp()

Loading…
Cancel
Save