forked from rDrama/rDrama
hide "nog"
parent
58ab7c7f6b
commit
e0f54e0cb5
|
@ -6,9 +6,9 @@ from flask import request
|
||||||
|
|
||||||
#DELETE_ME_PLS
|
#DELETE_ME_PLS
|
||||||
if SITE_NAME == 'rDrama':
|
if SITE_NAME == 'rDrama':
|
||||||
words_to_hide = ('israel', 'isreal', 'palest', 'muslim', 'islam', 'hamas', 'jew', 'zion', 'gaza', 'rafah', 'isis', 'terror', 'iraq', 'allah', 'mohammad', 'muhammad', 'mohammed', 'muhammed', 'mohamad', 'muhamad', 'mohamed', 'muhamed', 'trans', 'train', 'tranny', 'troon', 'rowdy', 'nigger', 'bipoc', 'rape', 'rapist', 'wpd', 'watchpeopledie')
|
words_to_hide = ('israel', 'isreal', 'palest', 'muslim', 'islam', 'hamas', 'jew', 'zion', 'gaza', 'rafah', 'isis', 'terror', 'iraq', 'allah', 'mohammad', 'muhammad', 'mohammed', 'muhammed', 'mohamad', 'muhamad', 'mohamed', 'muhamed', 'trans', 'train', 'tranny', 'troon', 'rowdy', 'nigger', 'nog', 'bipoc', 'rape', 'rapist', 'wpd', 'watchpeopledie')
|
||||||
else:
|
else:
|
||||||
words_to_hide = ('israel', 'isreal', 'palest', 'muslim', 'islam', 'hamas', 'jew', 'zion', 'gaza', 'rafah', 'isis', 'terror', 'iraq', 'allah', 'mohammad', 'muhammad', 'mohammed', 'muhammed', 'mohamad', 'muhamad', 'mohamed', 'muhamed', 'trans', 'train', 'tranny', 'troon', 'rowdy', 'nigger', 'bipoc', 'rape', 'rapist')
|
words_to_hide = ('israel', 'isreal', 'palest', 'muslim', 'islam', 'hamas', 'jew', 'zion', 'gaza', 'rafah', 'isis', 'terror', 'iraq', 'allah', 'mohammad', 'muhammad', 'mohammed', 'muhammed', 'mohamad', 'muhamad', 'mohamed', 'muhamed', 'trans', 'train', 'tranny', 'troon', 'rowdy', 'nigger', 'nog', 'bipoc', 'rape', 'rapist')
|
||||||
|
|
||||||
def can_see(user, obj):
|
def can_see(user, obj):
|
||||||
if isinstance(obj, (Post, Comment)):
|
if isinstance(obj, (Post, Comment)):
|
||||||
|
|
|
@ -14,6 +14,7 @@ SLURS = {
|
||||||
"negroid": "BIPOC",
|
"negroid": "BIPOC",
|
||||||
"nignog": "BIPOC",
|
"nignog": "BIPOC",
|
||||||
"nig nog": "BIPOC",
|
"nig nog": "BIPOC",
|
||||||
|
"(?<!\w)nog(?!\w)": "BIPOC",
|
||||||
"niglet": 'BIPOClet',
|
"niglet": 'BIPOClet',
|
||||||
"negress": "BIPOCette",
|
"negress": "BIPOCette",
|
||||||
"faggot": "cute twink",
|
"faggot": "cute twink",
|
||||||
|
|
Loading…
Reference in New Issue