The site has some automated filters but can't catch everything. You can screenshot, open a ticket and provide that to support when they contact you.
https://support.chess.com/customer/en/portal/articles/1444785-my-opponent-said-some-very-abusive-and-rude-things-what-should-i-do-