He probably doesn't need to have that fact pointed out to him.
I'm sure there's a better way you could have given the hint to the correct word for the benefit of others who didn't figure out what he meant, and done so without being condescending to the post you were replying to. Yes?
Their post was interesting because they're right: I'm a native English speaker and I paused on "medicament".
Personally, if I felt compelled to point out that it was uncommon, I would have said "At first I though medicament was a misspelling or autocorrect mistake, but when I looked it up, I found out it's a real word in English, if extremely uncommon. Interesting." That's less assertive in that a mistake was made (because it might have been used for effect), and also true.
I suspect readings of it in a negative light are because of the context of the current conversation. Otherwise, I'm not sure how something that is essentially "at first I was confused and thought you were wrong, but then I found out I was the one that was wrong" is supposed to be taken negatively.
This is not intended obnoxiously, but I assume English is not your first language (though your English is good) and you'd want to know: "medicament" is an incredibly uncommon way to refer to "medication." In fact, the majority of native English speakers would not recognize it.