fdsfsdsfdrt
This commit is contained in:
parent
499fb3671d
commit
1c624eb7c0
3 changed files with 43 additions and 14 deletions
|
@ -24,6 +24,15 @@ AJ_REPLACEMENTS = {
|
|||
"too": '$#3$3',
|
||||
'to': "too",
|
||||
'$#3$3': 'to',
|
||||
|
||||
'$#3$3': 'to',
|
||||
'$#3$3': 'to',
|
||||
'$#3$3': 'to',
|
||||
|
||||
'she': 'they',
|
||||
'her': 'they',
|
||||
'he': 'they',
|
||||
'him': 'they',
|
||||
}
|
||||
|
||||
SLURS = {
|
||||
|
@ -43,8 +52,8 @@ SLURS = {
|
|||
"kill yourself": "keep yourself safe",
|
||||
"kys": "keep yourself safe",
|
||||
"kyle": "Kylie",
|
||||
"nig": "I LOVE BIG BLACK COCK IN MY BUSSY",
|
||||
"nigger": "I LOVE BIG BLACK COCK IN MY BUSSY",
|
||||
"nig": "🏀",
|
||||
"nigger": "🏀",
|
||||
"rapist": "male feminist",
|
||||
"steve akins": "penny verity oaken",
|
||||
"trannie": "🚂🚃🚃",
|
||||
|
@ -181,6 +190,9 @@ def censor_slurs(body: str, logged_user) -> str:
|
|||
if not logged_user or logged_user.slurreplacer: body = SLUR_REGEX.sub(sub_matcher, body)
|
||||
return body
|
||||
|
||||
def censor_slurs2(body: str) -> str:
|
||||
return SLUR_REGEX.sub(sub_matcher, body)
|
||||
|
||||
BADGES = {
|
||||
1: {
|
||||
'name': 'Alpha User',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue