There is a high degree of anonymity on Discord and it is possible that users could receive unwanted contact. However, there are privacy settings that can be adjusted so that only confirmed friends can send you direct messages.