some people are still deeply offended by the word nigger even if used by a black person i dont think it would be unreasonable to ask your class to refrain from using it for multiple reasons but i dont think you can really punish them for its use unless used as hate speech