What you were doing at the exact time when banned rarely has anything to do with the penalty. Blizzard uses a system that mostly relies on others to report your language/name which then gets reviewed later and sometimes penalized. If they are looking for exploits/automation then that usually gets caught in detection sweeps over time. Then they ban everyone in a ban wave together. So that can take quite some time between the infraction and the penalty.
“Inappropriate” may very well be a text/name/player report category. Usually the other categories line up with the EULA cheating section.
Cheating: Create, use, offer, promote, advertise, make available and/or distribute the following or assist therein:
- cheats; i.e. methods not expressly authorized by Blizzard (whether accomplished using hardware, software, a combination thereof, or otherwise), influencing and/or facilitating gameplay, including exploits of any in-game bugs, and thereby granting you and/or any other user an advantage over other players not using such methods;
- bots; i.e. any code and/or software, not expressly authorized by Blizzard, that allows the automated control of a Game, or any other feature of the Platform, e.g. the automated control of a character in a Game;
- hacks; i.e. accessing or modifying the software of the Platform in any manner not expressly authorized by Blizzard; and/or
- any code and/or software, not expressly authorized by Blizzard, that can be used in connection with the Platform and/or any component or feature thereof which changes and/or facilitates the gameplay or other functionality;