Update guildMemberAdd.js

This commit is contained in:
Andrew Lee 2019-12-08 09:09:05 -05:00 committed by GitHub
parent 4c2240022f
commit 63e2314ba4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@ module.exports = async (bot, member) => {
bot.channels.get('635835832913231872').setName(`Member Count: ${member.guild.memberCount - botCount}`);
bot.channels.get('635835875065987073').setName(`Bot Count: ${botCount}`);
bot.channels.get('417100669980508160').send(`Welcome to the server **${member.user.tag}**! Make sure to read the rules! We now have ${member.guild.memberCount} members.`);
bot.channels.get('417088992329334794').send(`Welcome to the server <@${member.id }>. Be sure to join a team: \`p:join <flare, skull>\`. Also, make sure to read our introduction: \`p:start\`.`);
bot.channels.get('417088992329334794').send(`Welcome to the server <@${member.id }>. Be sure to join a team: \`p:jointeam <flare, skull>\`. Also, make sure to read our introduction: \`p:start\`.`);
const role = member.guild.roles.find('name', 'Trainers');
member.addRole(role);
};