ProAvalon
ProAvalon copied to clipboard
Vulgar Usernames
So Bocaben just banned a guy named "niggerlover", sooo I feel like we may need a filter on usernames
I was suggested to make a list but honestly anything NSFW and/or discriminatory should be disabled
If I missed any just lemme know, I'll find a way to edit these things haha
Anything containing any of the following should not be permitted:
Nigger/Nigga Fag/Faggot Chink Bitch Fuck Cunt/Clit/Clitoris Wank Dick/Cock Dyke Cum/Jizz
I have no idea how filters work but it's also important to note that there are some blatant loopholes, like substituting i for L, or o for 0.
Looks like there's tons of packages that support this:
-
swearjar
-
bad-words
-
censor-sensor
etc. Which one should we use? Let me know and I can implement it in the same place where it checks for password length, etc.