where do i find that setting?
If someone on Discord is harassing you, it may be worth checking all of your
"User Settings". The account settings look slightly different depending on whether you're accessing them via the phone, computer or web apps.
Under
“My Account” or
“Account”, you can find a list of your “blocked users”. The best way to not receive messages from someone who has contacted you is to block them immediately.
Under
“Privacy and Safety”, you may want to turn off allowing direct messages from members you share a server with.
If you're using the
phone app, you'll also have these options, so you don't sync your phone contacts with people on Discord, nor can people discover you from your phone number or email address.
Under
“Friend Requests”, you can turn off how other people can send you a friend request
I'm sure there is someone way more versed in Discord that could have explained more easily than me, but if you haven't already adjusted these settings, hopefully doing so will help stop someone contacting you when you don't want them to. You deserve to feel safe.