
It isn’t a slur, but it has been used disparingly. In many cases it’s the same concept as calling a Jewish person a “Jew” in a derogative way. In the case of the post I made, the joke comes from this understanding of derogative side which the term “goyim” can be used. Hope my explanation helps