EddieBot: Does not flag offensive words

Description

Eddie bot flags non-inclusive pronouns, but does not flag many offensive words. It will be better if EddieBot can do it.

Screenshots

I can add screenshots but I will refrain from doing so as the words can be offensive. Head over to the Discord Server’s #bot-chat channel to find live examples.

Additional Context

Will add the screenshots if someone explicitly requests for it.

Join Eddie’s discord community here

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 34 (32 by maintainers)

Commits related to this issue

Most upvoted comments

I’ll try and open a PR after a while 😃

Yes, that is the ideal way. Someone who can implement this, please make haste. It’s already been two months since this issue was raised and still cusses are possible to use.

Also, slight update profanitySureness at 1 works pretty much okay @adityaraute Could you perhaps dm me examples of what the bot was not flagging as offensive? (this way we could be sure if setting that to 1 is sufficient)

We have the profanitySureness set to 2, which is the minimum level of flagging - we could try bumping it to 1 to see if it catches more.

The profanitySureness field is a number (the default is 0). We use cuss, which has a dictionary of words that have a rating between 0 and 2 of how likely it is that a word or phrase is a profanity (not how “bad” it is): The profanitySureness field is the minimum rating (including) that you want to check for. If you set it to 1 (maybe) then it will warn for level 1 and 2 (likely) profanities, but not for level 0 (unlikely).

AlexJS uses a profanity filter, I think we have the config incorrect

Yep, something simple and sooner is best 👍

Guys, I appreciate the discussion, but a methodology to remove obviously offensive words needs to be put in place ASAP. EddieHub is growing and with more members, we don’t want exposed vulnerabilities. NLP and contextual flagging can be a secondary issue but the bad words library should be implemented quickly in my opinion.

oh 👍 Maybe (though I’m not sure about this), we could add an extra RESTRICTED_WORDS_LIST, in the config.ts file, and regex these to the message content, in order to check text that isn’t flagged by alex?

(*Is there a way to add a project-specific word to alexjs-ban-list?)