PX isn't punishing him because swearing is allowed on the Showdown server. This is mentioned on the server thread (
https://pokemondb.net/pokebase/meta/28174/). Sorry, but you shouldn't use Showdown if swearing is a worry to you.
However, what I will act upon is people using harsh language to hurt other people, or people making NSFW conversations (which is disallowed per Showdown rules). I have now left two messages in the Showdown server about the latter, so hopefully that will stop. You can read my most recent one here.
https://i.imgur.com/xfdcx9b.png
If you see more inappropriate conversations (i.e. hostile messages or posts about sex or drugs) then please screenshot them, and link them to me; I can't really act upon hearsay. However, please don't also tell me what I should do about it; we make decisions of our own in private.