If you notice an opponent with an inappropriate username during battles, you can report it! To do so please go to the in-game Settings menu and select "Report An Issue". 

Please note that the “Report An Issue” section of the game lists only the most recent opponents you were matched with in the Battle Arena. For this reason, it’s encouraged that you report an inappropriate username immediately after noticing it.