aboutsummaryrefslogtreecommitdiff
path: root/abwelcome.js
diff options
context:
space:
mode:
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: