Is creating a censored word list against TOS?

I am creating a discord bot. Part of it will include moderation, which includes filtering swear words, slurs, etc. Am I allowed to write these into the code? Should I put a list in a secret? Is there a python Library that has a list of explicit words, that I could use instead?

1 Like

So it is okay, but you should encode them.


Here’s a nice python library that does exactly what you want.

1 Like