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
clientDiscordClientThe discord client.
userulongThe user id to check.
Returns
- bool
Whether the user is enrolled.