From c29513eddd0d66165372d32d6bf2ba90369096b3 Mon Sep 17 00:00:00 2001 From: Alee14 Date: Thu, 17 Aug 2017 20:22:53 -0400 Subject: Some new changes --- abwelcome.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/abwelcome.js b/abwelcome.js index 204a600..c8ecac4 100644 --- a/abwelcome.js +++ b/abwelcome.js @@ -22,8 +22,8 @@ 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!"); - console.log('[WARNING] '+ 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: message.reply('Keep this server clean buddy!'); -- cgit v1.2.3