Closed HatScripts closed 11 months ago
Thanks, I included your patch verbatim (additionally whitelisting the word mishit
) in version 0.2.0 of Obscenity.
Thanks for the update! There are also some alternative spellings of shit
listed on its Wiktionary page:
Description
I was surprised to realize that this library doesn't censor the word "shit" by default, given that it's one of the most common English swear words.
Solution
I'm not fully versed with the pattern syntax used by this project, but here's my attempt at implementing it:
This should cover words where "shit-" is the prefix ("shitty", "shite", "shithead", etc.), as well as words where "-shit" is the suffix ("bullshit", "dipshit", "batshit", etc.)
Code of Conduct