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