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
TextConverterContextThe context used for the argument converters.
eventArgs
MessageCreatedEventArgsThe event args that sparked this command.
Returns
- ValueTask<TextCommandContext>
The prepared CommandContext.