forked from rDrama/rDrama
hide "nog"
parent
58ab7c7f6b
commit
e0f54e0cb5
|
@ -6,9 +6,9 @@ from flask import request
|
|||
|
||||
#DELETE_ME_PLS
|
||||
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:
|
||||
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):
|
||||
if isinstance(obj, (Post, Comment)):
|
||||
|
|
|
@ -14,6 +14,7 @@ SLURS = {
|
|||
"negroid": "BIPOC",
|
||||
"nignog": "BIPOC",
|
||||
"nig nog": "BIPOC",
|
||||
"(?<!\w)nog(?!\w)": "BIPOC",
|
||||
"niglet": 'BIPOClet',
|
||||
"negress": "BIPOCette",
|
||||
"faggot": "cute twink",
|
||||
|
|
Loading…
Reference in New Issue