aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnknown <Alee14498@gmail.com>2017-08-20 16:56:29 -0400
committerUnknown <Alee14498@gmail.com>2017-08-20 16:56:29 -0400
commite6dfed456e6f5c185545636eba9f6fcb0acd2375 (patch)
treeecc4325c329a7033837fb732a1d19c2ed3037ab8
parent3c74b0b12bafe942b4ec8a091b559fadc5ec1c5f (diff)
downloadAleeBot-e6dfed456e6f5c185545636eba9f6fcb0acd2375.tar.gz
AleeBot-e6dfed456e6f5c185545636eba9f6fcb0acd2375.tar.bz2
AleeBot-e6dfed456e6f5c185545636eba9f6fcb0acd2375.zip
Adding stuff!
-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: