diff options
| author | Alee14 <alee14498@gmail.com> | 2017-06-12 21:14:46 -0400 |
|---|---|---|
| committer | Alee14 <alee14498@gmail.com> | 2017-06-12 21:14:46 -0400 |
| commit | cffe3b076a39dfaaf5dfc0599cb9e0711130dac3 (patch) | |
| tree | 343381ac1fa0c6adc7a38ce670b962ad338b18c1 | |
| parent | 4e3f87bf3ff01ba538a672f96affae2dba11598a (diff) | |
| download | AleeBot-cffe3b076a39dfaaf5dfc0599cb9e0711130dac3.tar.gz AleeBot-cffe3b076a39dfaaf5dfc0599cb9e0711130dac3.tar.bz2 AleeBot-cffe3b076a39dfaaf5dfc0599cb9e0711130dac3.zip | |
New things
| -rw-r--r-- | aleemod.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -139,11 +139,11 @@ client.user.setPresence(presence); } if (expletiveFilter) { - var exp = msg.search(/(\s|^)(shit|shite|shitty|bullshit|fuck|fucking|ass|penis|cunt|faggot|damn|wank|wanker|nigger|bastard|piss|vagina|thisisnotarealwordbutatestword|aleesucks|hentai|asl|a55|anal|ballsack|bong|cocaine|cum|dick|dp|pedo|pube|rape|scat|semen|testes|tits|anus|arse|bitch|b1tch|b17ch|boob|cock|foreskin|hardon)(\s|$)/i); + var exp = msg.search(/(\s|^)(shit|shite|shitty|bullshit|fuck|fucking|ass|penis|cunt|faggot|damn|wank|wanker|nigger|bastard|piss|vagina|thisisnotarealwordbutatestword|aleesucks|hentai|asl|a55|anal|ballsack|bong|cocaine|cum|dick|dp|pedo|pube|rape|scat|semen|testes|tits|anus|arse|bitch|b1tch|b17ch|boob|cock|foreskin|hardon|horny|porn)(\s|$)/i); if (exp != -1) { //Gah! They're not supposed to say that! switch (Math.floor(Math.random() * 1000) % 5) { case 0: - message.reply("Hey! This is not your time to swear."); + message.reply("Hey! This is not your time to swear and being disgusting."); break; case 1: message.reply("Hey! Let's not have any of that please."); |
