Table of Contents

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 DiscordClient

The discord client.

user ulong

The user id to check.

Returns

bool

Whether the user is enrolled.