#Is there a way to check if a user has verified with phone?

1 messages · Page 1 of 1 (latest)

near jay
#

Currently looking into ways to lock stuff based on verification, if I can check for phone verification that might be perfect.
I don't care about what number, just whether or not they are.

prisma tusk
# near jay Currently looking into ways to lock stuff based on verification, if I can check ...

There's no way to know this information, since discord doesn't provide it using a bot client or OAuth2. However there's an option in the server settings to allow only users that have a verified phone number on their discord account to send messages.

To enable this go to Server Settings > Safety Setup > Select "Highest"

Read more about it here:
https://support.discord.com/hc/en-us/articles/216679607-What-are-Verification-Levels-

near jay
#

That's what I was afraid of. Can't lock the place to phone only, but was hoping to make some kind of verification system for certain permissions cause it's been getting a bunch of gore raids lately.

#

Thanks for the answer.

cursive quest
#

In d.py there is a is_mobile() function but seems to annoyingly be missing from d.net