diff --git a/website/server/libs/bannedWords.js b/website/server/libs/bannedWords.js index 7ece4c076f..8e8f1d01f6 100644 --- a/website/server/libs/bannedWords.js +++ b/website/server/libs/bannedWords.js @@ -1,10 +1,31 @@ /* eslint-disable no-multiple-empty-lines */ // CONTENT WARNING: -// This file contains slurs, swear words, religious oaths, and words related to addictive substance and adult topics. +// +// This file contains slurs, swear words, religious oaths, and words related +// to addictive substance and adult topics. // Do not read this file if you do not want to be exposed to those words. -// The words are stored in an array called `bannedWords` which is then exported with `module.exports = bannedWords;` +// +// The words are stored in an array called `bannedWords` which is then +// exported with `module.exports = bannedWords;` // This file does not contain any other code. +// +// +// EDIT WARNING: +// +// If you think this file needs to be changed please do NOT create a +// pull request or issue in GitHub! +// Email admin@habitica.com to discuss the change you want made. +// +// All updates to this file must be done through a direct commit to limit +// the words visibility in GitHub to protect our coders, socialites, and +// wiki editors who look through PRs for information. +// +// When adding words that contain asterisks, put two backslashes before them. +// +// Do NOT enter any words with $ signs. E.g., "i$$" cannot be on the list +// because it would cause the word "I" to be blocked. Escaping $ signs with +// backslashes doesn't work. @@ -25,6 +46,127 @@ -let bannedWords = ['TEST_PLACEHOLDER_SWEAR_WORD_HERE']; + + + +// Do not include the following words: +// 'ale' because it's Polish for 'but'. +// 'Jesus' because it's a legitimate modern given name. +// 'Christ' because it's a legitimate modern surname. + +let bannedWords = [ + 'TEST_PLACEHOLDER_SWEAR_WORD_HERE', + + 'hell', + 'hellish', + 'damn', + 'goddamn', + 'damnit', + 'dammit', + 'damned', + 'omg', + 'god', + 'g\\*d', + + 'shit', + 'shitty', + 'shitting', + 'shithole', + 'shitface', + 'shitfaced', + 'sh\\*t', + 'sh\\*tty', + 'sh\\*tting', + 'fuck', + 'fucking', + 'fucked', + 'fuckwit', + 'fucker', + 'f\\*ck', + 'motherfucker', + 'motherfucking', + 'muthafucka', + 'fu', + 'wtf', + 'dafuq', + 'af', + + 'ass', + 'arse', + 'asshole', + 'badass', + 'arsehole', + 'badarse', + 'lmao', + 'lmfao', + + 'bitch', + 'bitchy', + 'bitches', + 'bitching', + 'b\\*tch', + + 'nigger', + 'niggers', + 'nigga', + 'niggas', + 'fag', + 'fags', + 'faggot', + 'faggots', + 'whore', + 'whores', + 'slut', + 'sluts', + 'cunt', + 'cunts', + 'dyke', + 'dykes', + 'spic', + 'spics', + 'tranny', + 'trannies', + 'tard', + 'tards', + 'retard', + 'retards', + 'bastard', + 'bastards', + + 'rape', + 'raped', + 'raping', + 'blowjob', + 'rimjob', + 'handjob', + 'cunnilingus', + 'fellatio', + 'sodomy', + 'milf', + 'cocksucker', + 'cocksucking', + 'fap', + 'nofap', + 'fapping', + + 'alcohol', + 'beer', + 'beers', + 'mead', + 'sherry', + 'champagne', + 'rum', + 'brandy', + 'whisky', + 'whiskey', + 'lager', + 'gin', + 'wine', + 'wines', + 'liquor', + 'liquors', + 'heroin', + 'cocaine', +]; module.exports = bannedWords;