Sol / moderator.py
Fafnir666's picture
Upload 5 files
e1167a6 verified
Raw History Blame Contribute Delete
294 Bytes
HATE_KEYWORDS = [
"hitler", "1488", "zionist conspiracy", "gas the", "jews did", "white genocide",
"holocaust hoax", "nazi", "heil", "great replacement", "ethnostate"
]
def check_for_hate(text):
lowered = text.lower()
return any(keyword in lowered for keyword in HATE_KEYWORDS)