How do you add filtered main chat?

Hello, my game was taken under review because I have Unfiltered main chat in game, could someone help me and tell me how I would add that?

use that (read it) and filter all texts that are user inputted and not preset