Closed mikebonds closed 12 years ago
This is a good idea mike! Ill start on this now! We need to also make it so they can add words to the blacklist.
Yeah, we should allow the user to create a blacklist. When the word censor is used, they can specify words to include along side the blacklist. Or we can have an optional param that allows them to specify if the new words should be excluded from the blacklist.
This could be very handy. A word censor method could accept a sentence, a list of words to be censored, and the replacement text for censored words.