Skip to content

Conversation

@Topener
Copy link

@Topener Topener commented Aug 9, 2023

Hi there!

I noticed your repository uses the bad-words package. I've recently released a new package called no-profanity which is backwards compatible with bad-words but contains more known profanities, and is about 150 times as fast with checking profanities.

This PR should fix that!

Let me know if you have any questions

@ojwb
Copy link
Collaborator

ojwb commented Jan 22, 2025

I don't think a larger profanity list is desirable here - even the existing list triggers accidentally sometimes (e.g. I once got banned for mentioning "dead code" requiring manual intervention).

Also only the source code gets scanned and it's not hard to hide profanity in the source code but produce it in the output image/video. Despite this we don't seem to have a problem with users even trying to send the bot profanity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants