Table of Contents

Method ParseArgumentsAsync

Namespace
DSharpPlus.Commands.Processors
Assembly
DSharpPlus.Commands.dll

ParseArgumentsAsync(TConverterContext, TEventArgs)

Parses the arguments provided to the command and returns a prepared command context.

public abstract ValueTask<TCommandContext?> ParseArgumentsAsync(TConverterContext converterContext, TEventArgs eventArgs)

Parameters

converterContext TConverterContext

The context used for the argument converters.

eventArgs TEventArgs

The event args that sparked this command.

Returns

ValueTask<TCommandContext>

The prepared CommandContext.