Table of Contents

Method GetTwoFactor

Namespace
DisCatSharp.Extensions.TwoFactorCommands
Assembly
DisCatSharp.Extensions.TwoFactorCommands.dll

GetTwoFactor(DiscordClient)

Gets the active TwoFactor module for this client.

public static TwoFactorExtension? GetTwoFactor(this DiscordClient client)

Parameters

client DiscordClient

Client to get TwoFactor module from.

Returns

TwoFactorExtension

The module, or null if not activated.