diff options
| author | Unknown <Alee14498@gmail.com> | 2017-08-17 20:18:36 -0400 |
|---|---|---|
| committer | Unknown <Alee14498@gmail.com> | 2017-08-17 20:18:36 -0400 |
| commit | dac1a984d0332e3588f61cadc3eafbbce8e71bfb (patch) | |
| tree | 973c1fa72c8c222f88b7805b6edb0b6d3982617a | |
| parent | e0445f5deccd2adb2f57720f8f846f3e3945db16 (diff) | |
| parent | 449439895855be3de30a26b1b89e580c67ed5469 (diff) | |
| download | AleeBot-dac1a984d0332e3588f61cadc3eafbbce8e71bfb.tar.gz AleeBot-dac1a984d0332e3588f61cadc3eafbbce8e71bfb.tar.bz2 AleeBot-dac1a984d0332e3588f61cadc3eafbbce8e71bfb.zip | |
Merge branch 'beta'
| -rw-r--r-- | abwelcome.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/abwelcome.js b/abwelcome.js index 698df3c..204a600 100644 --- a/abwelcome.js +++ b/abwelcome.js @@ -23,7 +23,7 @@ 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!') + 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!'); @@ -34,6 +34,8 @@ client.on('message', message => { case 2: message.reply('Hmm. You like swearing a lot well some other people don\'t!') break; + case 3: + message.reply("If you like swearing say it in your head please.") } message.delete(); return; |
