Ability to get the "mfa_enabled" value of other users via a bot account.
It would be great if you could check if a user has MFA enabled via the API as a bot. That would be really useful for "accept-rules" and "setup" bots for big servers, since having no role and MFA disabled still allows you to do some things like joining voice channel on MFA required servers. My use case for example would be a simple bot that gives new users a specific role if they have MFA enabled to limit the amount of second/troll accounts.
-
we're looking for this too. I see the user object includes an mfa_enabled? field but not sure how to access it.
0 -
we're looking for this too. I see the user object includes an mfa_enabled? field but not sure how to access it.
Bit late, but you can access this by asking them to 'login' via Discord on your website, doing so will return if they have MFA enabled, this however can be a big barrier of entry to your server to ask everyone to log into.
So +1 for support, I'm planning on turning on 2FA for moderators and wanted to see who hasn't activated to to ask them to do so before a date but I can't access that data without bugging them to login which shouldn't be needed; the field is still sent but just null for bots.
0
Accedi per aggiungere un commento.
Commenti
2 commenti