From 2368ef90f36996f6c0ebba2f38e312bda4972b6a Mon Sep 17 00:00:00 2001 From: Alee14 Date: Wed, 31 May 2017 15:54:38 -0400 Subject: Update aleemod.js --- aleemod.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/aleemod.js b/aleemod.js index b828baa..4dcdf1b 100644 --- a/aleemod.js +++ b/aleemod.js @@ -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."); }); -- cgit v1.2.3