discord.js message.author code example
Example: discord.js message on member add
client.on('guildMemberAdd', member => {
member.send("Welcome!");
});
client.on('guildMemberAdd', member => {
member.send("Welcome!");
});