diff options
| author | Alee14 <alee14498@gmail.com> | 2017-06-08 13:16:54 -0400 |
|---|---|---|
| committer | Alee14 <alee14498@gmail.com> | 2017-06-08 13:16:54 -0400 |
| commit | e63c442754c33a27a4a51ff9a1be7c16c5ea190e (patch) | |
| tree | acac6e57441730af4d45a61892aba203cc2d124b | |
| parent | 46bf14d7a7910ab63805bc6090e8d5d08492c6dc (diff) | |
| download | AleeBot-e63c442754c33a27a4a51ff9a1be7c16c5ea190e.tar.gz AleeBot-e63c442754c33a27a4a51ff9a1be7c16c5ea190e.tar.bz2 AleeBot-e63c442754c33a27a4a51ff9a1be7c16c5ea190e.zip | |
Fixing a bug
| -rw-r--r-- | aleemod.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -139,7 +139,7 @@ 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|aleesuckshentai|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)(\s|$)/i); if (exp != -1) { //Gah! They're not supposed to say that! switch (Math.floor(Math.random() * 1000) % 5) { case 0: |
