" -> ' to make adding filters with ' a little bit more difficult

pull/229/head
Aevann 2024-07-12 15:42:17 +03:00
parent 9c3bd88b9c
commit b9070d9c83
1 changed files with 71 additions and 71 deletions

View File

@ -7,84 +7,84 @@ troon = f'<img loading="lazy" data-bs-toggle="tooltip" alt=":marseytrain2:" titl
#DON'T ADD ANY FILTERS WITH ' OR ", VECTOR FOR HTML INJECTION
SLURS = {
"tranny": tranny,
"trannie": trannie,
"troon": troon,
"(?<!\\bs)nigger": "BIPOC",
"negroid": "BIPOC",
"nignog": "BIPOC",
"nig nog": "BIPOC",
"(?<!\w)nog(?!\w)": "BIPOC",
"niglet": "BIPOClet",
"negress": "BIPOCette",
"faggot": "cute twink",
"fag": "strag",
"(?<!\w)spic(?!\w)": "hard-working American",
"(?<!\w)spics(?!\w)": "hard-working Americans",
"kike": "jewish chad",
"(?<!\w)heeb": "jewish chad",
"daisys destruction": "Cars 2",
"daisy destruction": "Cars 2",
"pajeet": "sexy Indian dude",
"dyke(?!\w)": "cute butch",
"dykes": "cute butches",
"sheboon": "ebony cupcake",
'tranny': tranny,
'trannie': trannie,
'troon': troon,
'(?<!\\bs)nigger': 'BIPOC',
'negroid': 'BIPOC',
'nignog': 'BIPOC',
'nig nog': 'BIPOC',
'(?<!\w)nog(?!\w)': 'BIPOC',
'niglet': 'BIPOClet',
'negress': 'BIPOCette',
'faggot': 'cute twink',
'fag': 'strag',
'(?<!\w)spic(?!\w)': 'hard-working American',
'(?<!\w)spics(?!\w)': 'hard-working Americans',
'kike': 'jewish chad',
'(?<!\w)heeb': 'jewish chad',
'daisys destruction': 'Cars 2',
'daisy destruction': 'Cars 2',
'pajeet': 'sexy Indian dude',
'dyke(?!\w)': 'cute butch',
'dykes': 'cute butches',
'sheboon': 'ebony cupcake',
}
#DON'T ADD ANY FILTERS WITH ' OR ", VECTOR FOR HTML INJECTION
if SITE_NAME == "rDrama":
if SITE_NAME == 'rDrama':
SLURS |= {
"retarded": "r-slurred",
" a retard": " an r-slur",
"retard": "r-slur",
"(?<!\w)pedo(?!\w)": "p-do",
"pedophile": "p-dophile",
"kill youself": "keep yourself safe",
"kill yourself": "keep yourself safe",
"kill yourselves": "keep yourselves safe",
"(?<!\w)kys(?!\w)": "keep yourself safe",
"latinos": "latinx",
"latino": "latinx",
"latinas": "latinx",
"latina": "latinx",
"hispanics": "latinx",
"hispanic": "latinx",
"autistic": "neurodivergent",
"autist": "neurodivergent",
"gamer": "g*mer",
"journalist": "journ*list",
"journalism": "journ*lism",
"fake and gay": "fake and straight",
"(?<!\w)rapist": "male feminist",
"its almost if": "Im an r-slur but",
"its almost as if": "Im an r-slur but",
"its almost like": "Im an r-slur but",
"krayon(?! \()": "krayon (sister toucher)",
"discord": "groomercord",
"nigga": "neighbor",
"(?<!cow)tools(?!\w)": "cowtools",
'retarded': 'r-slurred',
' a retard': ' an r-slur',
'retard': 'r-slur',
'(?<!\w)pedo(?!\w)': 'p-do',
'pedophile': 'p-dophile',
'kill youself': 'keep yourself safe',
'kill yourself': 'keep yourself safe',
'kill yourselves': 'keep yourselves safe',
'(?<!\w)kys(?!\w)': 'keep yourself safe',
'latinos': 'latinx',
'latino': 'latinx',
'latinas': 'latinx',
'latina': 'latinx',
'hispanics': 'latinx',
'hispanic': 'latinx',
'autistic': 'neurodivergent',
'autist': 'neurodivergent',
'gamer': 'g*mer',
'journalist': 'journ*list',
'journalism': 'journ*lism',
'fake and gay': 'fake and straight',
'(?<!\w)rapist': 'male feminist',
'its almost if': 'Im an r-slur but',
'its almost as if': 'Im an r-slur but',
'its almost like': 'Im an r-slur but',
'krayon(?! \()': 'krayon (sister toucher)',
'discord': 'groomercord',
'nigga': 'neighbor',
'(?<!cow)tools(?!\w)': 'cowtools',
}
PROFANITIES = {
"motherfucker": "motherlover",
"fuck": "frick",
"(?<!\w)ass(?!\w)": "butt",
"shitting": "pooping",
"damn": "darn",
"bitch(?!\w)": "b-word",
"toilet": "potty",
"(?<!\w)asshole": "butthole",
"(?<!\w)rape": "r*pe",
"(?<!\w)hell(?!\w)": "heck",
"(?<!\w)sex(?!\w)": "s*x",
"(?<!\w)cum(?!\w)": "c*m",
"(?<!\w)dick": "peepee",
"cock(?!\w)": "peepee",
"cocks": "peepees",
"penis": "peepee",
"pussy": "kitty",
"pussies": "kitties",
"cunt": "c*nt",
'motherfucker': 'motherlover',
'fuck': 'frick',
'(?<!\w)ass(?!\w)': 'butt',
'shitting': 'pooping',
'damn': 'darn',
'bitch(?!\w)': 'b-word',
'toilet': 'potty',
'(?<!\w)asshole': 'butthole',
'(?<!\w)rape': 'r*pe',
'(?<!\w)hell(?!\w)': 'heck',
'(?<!\w)sex(?!\w)': 's*x',
'(?<!\w)cum(?!\w)': 'c*m',
'(?<!\w)dick': 'peepee',
'cock(?!\w)': 'peepee',
'cocks': 'peepees',
'penis': 'peepee',
'pussy': 'kitty',
'pussies': 'kitties',
'cunt': 'c*nt',
}