Method ConvertAsync
- Namespace
- DSharpPlus.Commands.Converters
- Assembly
- DSharpPlus.Commands.dll
ConvertAsync(ConverterContext)
Converts the argument to the desired type.
public Task<Optional<Enum>> ConvertAsync(ConverterContext context)
Parameters
context
ConverterContextThe context for this conversion.