Table of Contents

Method RequestTwoFactorAsync

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

RequestTwoFactorAsync(CommandContext)

Asks the user via private for the two factor code.

This uses DisCatSharp.Interactivity.

To be used for commands next.

caution

Not implemented yet. Returns NotImplemented.

[Experimental("No support for this yet. Not implemented")]
public static Task<TwoFactorResponse> RequestTwoFactorAsync(CommandContext ctx)

Parameters

ctx CommandContext

The command context.

Returns

Task<TwoFactorResponse>

A TwoFactorResponse.