Files
habitica/website/server/libs/bannedWords.js

187 lines
3.2 KiB
JavaScript

/* 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.
// 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;`
// 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.
// Do not block the following words:
// 'ale' because it's Polish for 'but'.
// 'af' because it's Danish for 'of'.
// 'god' because it is allowed for use in ways that are not oaths.
// Tobacco products because they are more often mentioned when celebrating quitting than in a way that might trigger addictive behaviour.
// Legitimate given names: 'Jesus', 'Sherry'
// Legitimate surnames: 'Christ'
// Legitimate place names: 'Dyke'
//
// Explanations for some blocked words:
// 'fag' means 'subject' in some Scandinavian languages but we have decided to block it for its use as an English-language slur; hopefully the Scandinavian languages have suitable synonyms.
// 'slut' means 'end' in Danish but is blocked for the same reason as 'fag'.
let bannedWords = [
'TEST_PLACEHOLDER_SWEAR_WORD_HERE',
'hell',
'hellish',
'damn',
'goddamn',
'damnit',
'dammit',
'damned',
'omg',
'oh my god',
'oh god',
'oh, 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',
'fuq',
'dafuq',
'wtf',
'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',
'spic',
'spics',
'tranny',
'trannies',
'tard',
'tards',
'retard',
'retards',
'bastard',
'bastards',
'rape',
'raped',
'raping',
'r\\*pe',
'r\\*ped',
'r\\*ping',
'blowjob',
'rimjob',
'handjob',
'cunnilingus',
'fellatio',
'sodomy',
'milf',
'cocksucker',
'cocksucking',
'fap',
'nofap',
'fapping',
'masturbate',
'masturbates',
'masturbating',
'masturbation',
'alcohol',
'beer',
'beers',
'mead',
'champagne',
'rum',
'brandy',
'whisky',
'whiskey',
'lager',
'gin',
'wine',
'wines',
'liquor',
'liquors',
'heroin',
'cocaine',
];
module.exports = bannedWords;