I have this for when someone joins the server:
client.on(\'guildMemberAdd\', (member) => { console.log(`${member.user.username} joined the server`)