Table of Contents

Method ParseArgumentsAsync

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

ParseArgumentsAsync(TextConverterContext, MessageCreatedEventArgs)

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

public override ValueTask<TextCommandContext?> ParseArgumentsAsync(TextConverterContext converterContext, MessageCreatedEventArgs eventArgs)

Parameters

converterContext TextConverterContext

The context used for the argument converters.

eventArgs MessageCreatedEventArgs

The event args that sparked this command.

Returns

ValueTask<TextCommandContext>

The prepared CommandContext.