@bad_coder What RyanM has been trying to point out is that
your message was confrontational. It escalated the situation, rather than deescalated. It would have been possible for you to ask the room in general something like "how do I block a user in chat?" Specifically asking the person you were wanting to block, while explicitly telling them that you are intending to block them, and especially the sarcastic "So congrats for that" is passive-aggressive.