diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-03-23 20:17:54 -0400 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-03-23 20:17:54 -0400 |
| commit | 48b56fe90c4006d706dbc467d11280835b798a57 (patch) | |
| tree | a5a1d9ad4440c74a58d2e914ca26f8d6b26d1659 /events | |
| parent | 33b98ee70d29016a9257fe5a9e85709775c353e5 (diff) | |
| download | PokeBot-48b56fe90c4006d706dbc467d11280835b798a57.tar.gz PokeBot-48b56fe90c4006d706dbc467d11280835b798a57.tar.bz2 PokeBot-48b56fe90c4006d706dbc467d11280835b798a57.zip | |
Automation
Diffstat (limited to 'events')
| -rw-r--r-- | events/guildMemberAdd.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/events/guildMemberAdd.js b/events/guildMemberAdd.js index a035422..63adf39 100644 --- a/events/guildMemberAdd.js +++ b/events/guildMemberAdd.js @@ -44,6 +44,7 @@ module.exports = async (bot, member) => { bot.channels.get('426829685289123850').setName('Member Count: ' + (member.guild.memberCount - botCount)); bot.channels.get('426829838238613504').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 <aqua, magma, rocket>`'); const role = member.guild.roles.find('name', 'Trainers'); member.addRole(role); }; |
