diff options
| author | Alee14 <Alee14498@gmail.com> | 2017-05-31 15:54:38 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-31 15:54:38 -0400 |
| commit | 2368ef90f36996f6c0ebba2f38e312bda4972b6a (patch) | |
| tree | 23ab0b8f6598fc1e16777daadccc22e69a7ff380 | |
| parent | b7deec7786a4923c7a280c26358d67b56f0e162d (diff) | |
| download | AleeBot-2368ef90f36996f6c0ebba2f38e312bda4972b6a.tar.gz AleeBot-2368ef90f36996f6c0ebba2f38e312bda4972b6a.tar.bz2 AleeBot-2368ef90f36996f6c0ebba2f38e312bda4972b6a.zip | |
Update aleemod.js
| -rw-r--r-- | aleemod.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,5 @@ const Discord = require('discord.js'); +const api = require('./aleemodkey.js'); const client = new Discord.Client(); var expletiveFilter = true; @@ -35,7 +36,7 @@ const Discord = require('discord.js'); } if (expletiveFilter) { - var exp = msg.search(/(\s|^)(shit|shite|shitty|bullshit|fuck|fucking|ass|penis|cunt|faggot|cock)(\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)(\s|$)/i); if (exp != -1) { //Gah! They're not supposed to say that! switch (Math.floor(Math.random() * 1000) % 5) { @@ -221,6 +222,6 @@ const Discord = require('discord.js'); } client.login('token').catch( - function() { +function() { console.log("[ERROR] Login failed."); }); |
