Method CreateCommandContext
- Namespace
- DSharpPlus.Commands.Processors.SlashCommands
- Assembly
- DSharpPlus.Commands.dll
CreateCommandContext(InteractionConverterContext, IReadOnlyDictionary<CommandParameter, object?>)
Constructs a command context from the parsed arguments and the current state of the ConverterContext.
public override SlashCommandContext CreateCommandContext(InteractionConverterContext converterContext, IReadOnlyDictionary<CommandParameter, object?> parsedArguments)Parameters
- converterContextInteractionConverterContext
- The context used for the argument converters. 
- parsedArgumentsIReadOnlyDictionary<CommandParameter, object>
- The arguments successfully parsed by the argument converters. 
Returns
- SlashCommandContext
- The constructed command context.