aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlee14 <Alee14498@gmail.com>2017-08-17 20:22:53 -0400
committerAlee14 <Alee14498@gmail.com>2017-08-17 20:22:53 -0400
commitc29513eddd0d66165372d32d6bf2ba90369096b3 (patch)
treec28fae94641b58dc980421352799c8c405216481
parent449439895855be3de30a26b1b89e580c67ed5469 (diff)
downloadAleeBot-c29513eddd0d66165372d32d6bf2ba90369096b3.tar.gz
AleeBot-c29513eddd0d66165372d32d6bf2ba90369096b3.tar.bz2
AleeBot-c29513eddd0d66165372d32d6bf2ba90369096b3.zip
Some new changes
-rw-r--r--abwelcome.js4
1 files 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!');