Skip to content

Commit

Permalink
Moderation 2025-01-28 (#620)
Browse files Browse the repository at this point in the history
  • Loading branch information
duogenesis authored Jan 28, 2025
1 parent decc6a1 commit 8a60f69
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 12 deletions.
2 changes: 1 addition & 1 deletion antiabuse/antirude/profile/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"kill my self",
"kill myself",
"kill your self",
"kill yourself"
"kill yourself",
"killed myself",
"killed yourself",
Expand Down Expand Up @@ -67,6 +66,7 @@
"throat pussy",
"throatfuck",
"throatfucking",
"tkd",
"tnd",
"tranny",
"troon",
Expand Down
3 changes: 3 additions & 0 deletions antiabuse/antirude/profile/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ def test_rude_strings(self):
self.assertTrue(
is_rude("ywnbaw is an acronym"))

self.assertTrue(
is_rude("kill urself"))

def test_inrude_strings(self):
self.assertFalse(
is_rude("go hug urself please"))
Expand Down
1 change: 1 addition & 0 deletions antiabuse/antispam/urldetector/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
'rateyourmusic.com',
'reddit.com',
'spotify.com',
'stats.fm',
'steamcommunity.com',
'substack.com',
'tenor.com',
Expand Down
3 changes: 3 additions & 0 deletions antiabuse/antispam/urldetector/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ def test_non_url_strings(self):
self.assertFalse(has_url(
"""I'm on discord, like all the time"""))

self.assertFalse(has_url(
"""Check out my stats.fm @example"""))



if __name__ == '__main__':
Expand Down
20 changes: 10 additions & 10 deletions antiabuse/normalize/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"c[uv]mming": "cumming",
"c[uv]m[s$z]h[o0]t": "cumshot",
"c+[uv]+m+s+": "cums",
"d[iy]k[e3]": "dyke",
"d[iy1]k[e3]": "dyke",
"dyck": "dick",
"ejaku[l1]ate": "ejaculate",
"fcked": "fucked",
Expand All @@ -37,21 +37,21 @@
"f[uv]ked": "fucked",
"f[uv]k": "fuck",
"f[uv]king": "fucking",
"gr[o0][o0]mer": "groomer",
"gr[o0][o0]m": "groom",
"h[@a4]rm": "harm",
"k[iy][l1][l1]": "kill",
"k[iy1][l1][l1]": "kill",
"[l1]0[l1]icon": "lolicon",
"[l1]0[l1]i": "loli",
"n[e3]?g+[e3]?r": "nigger",
"n[e3]?g+[e3]?r[s$z]": "niggers",
"n[i1]ga": "nigga",
"n[i1]gge": "nigger",
"n[i1]gg[l1]et": "niglet",
"n[i1]gg": "nigger",
"n[i1]g+uh*": "nigga",
"n[i1ye3]*g+(a|uh|e)": "nigga",
"n[i1ye3]*g+([e3]*r)?": "nigger",
"n[i1ye3]*g+[e3]*r[s$z]": "niggers",
"n[i1ye3]gg[l1]et": "niglet",
"n[i1ye3]g+uh*": "nigga",
"n[ie]g{1,2}re{1,2}s+": "negress",
"p[e3]d[o0]": "pedo",
"pissin": "pissing",
"p[iy][s$][s$]": "piss",
"p[iy1][s$][s$]": "piss",
"p[o0]rn": "porn",
"pr[o0]n": "porn",
"r[@a4]p[e3]-?ab[l1]e": "rapeable",
Expand Down
14 changes: 13 additions & 1 deletion antiabuse/normalize/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def test_normalize_string(self):

self.assertEqual(normalize_string("𝖓𝖎𝖌𝖌𝖊𝖗"), "nigger")

self.assertEqual(normalize_string("𝖓𝖎𝖌𝖌𝖊"), "nigger")
self.assertEqual(normalize_string("𝖓𝖎𝖌𝖌𝖊"), "nigga")

self.assertEqual(normalize_string("unr4pe-able"), "unrapeable")

Expand Down Expand Up @@ -64,6 +64,18 @@ def test_normalize_string(self):

self.assertEqual(normalize_string("dike"), "dyke")

self.assertEqual(normalize_string("d1k3"), "dyke")

self.assertEqual(normalize_string("nyigger"), "nigger")

self.assertEqual(normalize_string("nigguh"), "nigga")

self.assertEqual(normalize_string("nyggr"), "nigger")

self.assertEqual(normalize_string("urself"), "yourself")

self.assertEqual(normalize_string("nigg"), "nigger")


if __name__ == '__main__':
unittest.main()
3 changes: 3 additions & 0 deletions banned-club.sql
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,7 @@ VALUES
('eleven years old'),
('elliot rodger'),
('elliot-rodger'),
('elliotrodgerwasright'),
('embassy bomber'),
('emitting faggot vibes'),
('emma essex'),
Expand Down Expand Up @@ -801,6 +802,7 @@ VALUES
('fake gooner'),
('fapper'),
('fapping'),
('far right'),
('fascism'),
('fascist'),
('fat and retarded'),
Expand Down Expand Up @@ -1305,6 +1307,7 @@ VALUES
('husband beater'),
('hyperborea'),
('hypersexual'),
('hypersexuality'),
('i abuse men'),
('i abuse women'),
('i am 10'),
Expand Down
12 changes: 12 additions & 0 deletions service/chat/rude/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"ass fucked",
"ass fucker",
"ass fucking",
"ass hole",
"ass-fuck",
"ass-fucked",
"ass-fucker",
Expand All @@ -29,6 +30,7 @@
"assfucked",
"assfucker",
"assfucking",
"asshole",
"backshots",
"ballsack",
"bash your",
Expand Down Expand Up @@ -92,9 +94,11 @@
"cocksucker",
"cocksucking",
"condom",
"cooch",
"coon",
"coprophilia",
"cum",
"cummies",
"cumming",
"cumms",
"cummshot",
Expand Down Expand Up @@ -220,6 +224,8 @@
"goyish",
"graped",
"graping",
"groom me",
"groom you",
"hand job",
"hand-job",
"handjob",
Expand All @@ -240,6 +246,7 @@
"horny",
"hotsex",
"incest",
"inside you",
"jack-off",
"jackoff",
"jeet",
Expand Down Expand Up @@ -323,6 +330,10 @@
"pissflaps",
"pissin",
"pissing",
"plow me",
"plow my",
"plow you",
"plow your",
"poojeet",
"poojeeta",
"poojeetas",
Expand Down Expand Up @@ -482,6 +493,7 @@
"you retarded",
"you will never be a woman",
"you'll never be a woman",
"your insides",
"your lips",
"your throat",
"your virginity",
Expand Down

0 comments on commit 8a60f69

Please sign in to comment.