Method ParseArgumentsAsync
- Namespace
- DSharpPlus.Commands.Processors.SlashCommands
- Assembly
- DSharpPlus.Commands.dll
ParseArgumentsAsync(InteractionConverterContext, InteractionCreatedEventArgs)
Parses the arguments provided to the command and returns a prepared command context.
public override ValueTask<SlashCommandContext?> ParseArgumentsAsync(InteractionConverterContext converterContext, InteractionCreatedEventArgs eventArgs)
Parameters
converterContext
InteractionConverterContextThe context used for the argument converters.
eventArgs
InteractionCreatedEventArgsThe event args that sparked this command.
Returns
- ValueTask<SlashCommandContext>
The prepared CommandContext.