I usually use the /ignore function to get rid of spam bots, which has worked quite well so far.
Having a look at my “Blocked” category, it appears there are multiple repeating account names there. This means that only the character, not the account get blocked when using /ignore.
I don’t know if this is intentional or not, but since the response message to /ignore used to be “Player [Acc.name] blocked”, it seems that was the original intent.