aboutsummaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
Diffstat (limited to 'bot.js')
-rw-r--r--bot.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/bot.js b/bot.js
index 3d7e972..5ba88d2 100644
--- a/bot.js
+++ b/bot.js
@@ -2185,6 +2185,14 @@ client.on('guildMemberAdd', function(guildMember) {
}
}
}
+ var embed = new Discord.RichEmbed();
+
+ embed.setAuthor("Victor Tran", "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg");
+ embed.setColor("#0096FF");
+ embed.setDescription(":wave: **HEY HEY HEY**! Welcome " + guildMember.displayName + " to AstrelTaser Cantral! Before you start, we recommend you check the rules over at https://docs.google.com/spreadsheets/d/1JUxm3ykqCWCagXZqGo390fO9Fl7IpGcnHmCfdrdBx8w/edit?usp=drivesdk. Thanks, and enjoy the community. - Victor");
+ embed.setURL("https://docs.google.com/spreadsheets/d/1JUxm3ykqCWCagXZqGo390fO9Fl7IpGcnHmCfdrdBx8w/edit?usp=drivesdk");
+
+ guildMember.sendEmbed(embed)
});
client.on('guildMemberUpdate', function(oldUser, newUser) {