joschan21 / profanity.dev

1.38k stars 106 forks source link

Expose all flagged words in API #46

Open UtterDonkey opened 5 months ago

UtterDonkey commented 5 months ago

Expose all flagged words rather than just highest scoring flagged word.

vercel[bot] commented 5 months ago

@UtterDonkey is attempting to deploy a commit to the joschan21's projects Team on Vercel.

A member of the Team first needs to authorize it.

cancel-cloud commented 4 months ago

jeah that would be cool, so i can - for example - add the penalty score to a user, and if multiple words are profanity flagged, i can take further actions

UtterDonkey commented 4 months ago

jeah that would be cool, so i can - for example - add the penalty score to a user, and if multiple words are profanity flagged, i can take further actions

Yeah. You could also use it to censor profanity rather than simply not showing the whole thing.