Class ExtensionMethods
- Namespace
- DisCatSharp.Extensions.TwoFactorCommands
- Assembly
- DisCatSharp.Extensions.TwoFactorCommands.dll
Defines various extensions specific to TwoFactor.
public static class ExtensionMethods
- Inheritance
-
ExtensionMethods
- Inherited Members
Methods
- GetTwoFactor(DiscordClient)
Gets the active TwoFactor module for this client.
- GetTwoFactorAsync(DiscordShardedClient)
Gets the active TwoFactor modules for all shards in this client.
- UseTwoFactor(DiscordClient, TwoFactorConfiguration?)
Enables TwoFactor module on this DiscordClient.
- UseTwoFactorAsync(DiscordShardedClient, TwoFactorConfiguration?)
Enables TwoFactor module on all shards in this DiscordShardedClient.