This is a bad word detector. If a word is entered and it is not a swear/cuss word, it will be accepted and sent through chat. If a word is entered and it is a swear/cuss word, it will not be accepted, you will either be temporarily banned/permanently banned or kicked, and it will not be sent through chat. Of course, this does have a bug, as this uses the Translate feature, and when a swear is translated to English, it appears as nothing. If you enter nothing into the chat box, it will detect it and flag it as a swear even though it was nothing.
Credits to everyone