aboutsummaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
authorUnknown <jtsshieh@outlook.com>2018-02-23 22:38:03 -0500
committerUnknown <jtsshieh@outlook.com>2018-02-23 22:38:03 -0500
commit5c12d46a250e59b74284e93c025f9a277901ec8c (patch)
treee9ddb331377c65dd0bfe6dfb321fd4917fa5909f /bot.js
parent1a3e785a8b104982813de25540d5c80cab55cb39 (diff)
downloadPokeBot-5c12d46a250e59b74284e93c025f9a277901ec8c.tar.gz
PokeBot-5c12d46a250e59b74284e93c025f9a277901ec8c.tar.bz2
PokeBot-5c12d46a250e59b74284e93c025f9a277901ec8c.zip
Member count
Diffstat (limited to 'bot.js')
-rw-r--r--bot.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.js b/bot.js
index 734e146..e598cea 100644
--- a/bot.js
+++ b/bot.js
@@ -54,7 +54,7 @@ bot.on('ready', () => {
});
bot.on('guildMemberAdd', (member) => {
- bot.channels.get('416633835216830495').send(`Welcome to the server **${member.user.tag}**! Make sure to read the rules in #rules!`);
+ bot.channels.get('416633835216830495').send(`Welcome to the server **${member.user.tag}**! Make sure to read the rules! You are our ${member.guild.memberCount}st member`);
const role = member.guild.roles.find('name', 'Trainers');
member.addRole(role);
});