diff options
| author | Alee14 <Alee14498@gmail.com> | 2017-08-17 20:22:53 -0400 |
|---|---|---|
| committer | Alee14 <Alee14498@gmail.com> | 2017-08-17 20:22:53 -0400 |
| commit | c29513eddd0d66165372d32d6bf2ba90369096b3 (patch) | |
| tree | c28fae94641b58dc980421352799c8c405216481 /abwelcome.js | |
| parent | 449439895855be3de30a26b1b89e580c67ed5469 (diff) | |
| download | AleeBot-c29513eddd0d66165372d32d6bf2ba90369096b3.tar.gz AleeBot-c29513eddd0d66165372d32d6bf2ba90369096b3.tar.bz2 AleeBot-c29513eddd0d66165372d32d6bf2ba90369096b3.zip | |
Some new changes
Diffstat (limited to 'abwelcome.js')
| -rw-r--r-- | abwelcome.js | 4 |
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!'); |
