To turn off DMs on Discord desktop and mobile applications, open Discord, go to the “USER SETTINGS” manual, and click on the “Privacy & Safety” option. Next, search and click on the “Allow direct messages from server members” option inside the “SERVER PRIVACY DEFAULT” category, and disable the toggle to turn off DMs.