With the new GCP partnership & a community that’s having some problems with advertising & some spam for popular projects, I think the Perspective API could help.
It’s a research project backed by Google that categorises text based on toxicity. I’ve used it in a Discord bot, and it proves very effective as an automod tool.