As a note, I know many foreigners who've been here a long time (one has been there for 35 years, married to a Japanese woman and with kids) and don't speak Japanese so it's possible to get by without it, at least in Tokyo ;)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
As a note, I know many foreigners who've been here a long time (one has been there for 35 years, married to a Japanese woman and with kids) and don't speak Japanese so it's possible to get by without it, at least in Tokyo ;)