Method CheckTwoFactorEnrollmentFor
- Namespace
- DisCatSharp.Extensions.TwoFactorCommands
- Assembly
- DisCatSharp.Extensions.TwoFactorCommands.dll
CheckTwoFactorEnrollmentFor(DiscordClient, ulong)
Checks two factor registration for the given user id.
public static bool CheckTwoFactorEnrollmentFor(this DiscordClient client, ulong user)
Parameters
client
DiscordClientThe discord client.
user
ulongThe user id to check.
Returns
- bool
Whether the user is enrolled.