Class TwoFactorApplicationCommandExtension
- Assembly
- DisCatSharp.Extensions.TwoFactorCommands.dll
public static class TwoFactorApplicationCommandExtension
- Inheritance
-
TwoFactorApplicationCommandExtension
- Inherited Members
Methods
- RequestTwoFactorAsync(BaseContext)
Asks the user via modal input for the two factor code.
This uses DisCatSharp.Interactivity.
To be used as first action for application commands.
- RequestTwoFactorAsync(ComponentInteractionCreateEventArgs, DiscordClient)
Asks the user via modal input for the two factor code.
This uses DisCatSharp.Interactivity.
To be used as first action for button.