aboutsummaryrefslogtreecommitdiff
path: root/abwelcome.js
diff options
context:
space:
mode:
authorUnknown <Alee14498@gmail.com>2017-08-20 17:34:39 -0400
committerUnknown <Alee14498@gmail.com>2017-08-20 17:34:39 -0400
commita960cce25b40bbd3d1be64134c48c563daf0dafd (patch)
tree90b5968450f569de3692e3e35dde088ff726bd6e /abwelcome.js
parentb937dd609f0e66fb9934e57987ca5a7087bd8cb5 (diff)
parentcd191af35063cea9fdece46837a77609d3804486 (diff)
downloadAleeBot-a960cce25b40bbd3d1be64134c48c563daf0dafd.tar.gz
AleeBot-a960cce25b40bbd3d1be64134c48c563daf0dafd.tar.bz2
AleeBot-a960cce25b40bbd3d1be64134c48c563daf0dafd.zip
Merge branch 'beta'
Diffstat (limited to 'abwelcome.js')
-rw-r--r--abwelcome.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/abwelcome.js b/abwelcome.js
index 6ff257b..9a8a3fb 100644
--- a/abwelcome.js
+++ b/abwelcome.js
@@ -11,6 +11,7 @@ client.on('ready', () => {
client.on("guildMemberAdd", function(member) {
member.guild.channels.find("name", "welcomes-and-byes").sendMessage(member.toString() + " has joined the server")
+ message.author.sendMessage(`Welcome to the AleeArmy Server **${member.user.username}**! Make sure to read the rules first and wait until Alee or a staff makes you part of member!`);
});
@@ -22,7 +23,7 @@ client.on("guildMemberRemove", function(member) {
client.on('message', message => {
for (x = 0; x < profanities.length; x++) {
if (message.content.toUpperCase() == profanities[x].toUpperCase()) {
- client.channels.get('318874545593384970').sendMessage(":information_source: " + message.author.username + " just swore in #"+ message.channel.name +"!");
+ client.channels.get('318874545593384970').sendMessage(":information_source: **" + message.author.username + "** just swore in #"+ message.channel.name +"!");
console.log('[WARNING] '+ message.author.username +' just swore in #'+ message.channel.name +'!')
switch (Math.floor(Math.random() * 1000) % 3) {
case 0: