“Cry Aloud, Spare Not”

Warning people of the consequence of sin was an important part of the job of a prophet. Is that instruction still relevant in the modern era?