Discord apparently now has a "message request" feature that allows you to get contacted by someone when your DM settings would limit who can contact you. And you have the option to accept or reject the request.
And of course, the first time I encounter it, the feature was being used by a cryptoscammer -.-