Table of Contents

Class ConverterContext

Namespace
DSharpPlus.Commands.Converters
Assembly
DSharpPlus.Commands.dll

Represents context provided to argument converters.

public abstract record ConverterContext : AbstractContext
Inheritance
ConverterContext
Derived
Inherited Members

Properties

Argument

The value of the current raw argument.

Parameter

The current parameter.

ParameterIndex

The index of the current parameter.

Methods

As<T>()

Short-hand for converting to a more specific converter context type.

NextParameter()

Advances to the next parameter, returning a value indicating whether there was another parameter.