Table of Contents

Method IArgumentConverter<DiscordColor>.ConvertAsync

Namespace
DisCatSharp.CommandsNext.Converters
Assembly
DisCatSharp.CommandsNext.dll

IArgumentConverter<DiscordColor>.ConvertAsync(string, CommandContext)

Converts a string.

Task<Optional<DiscordColor>> IArgumentConverter<DiscordColor>.ConvertAsync(string value, CommandContext ctx)

Parameters

value string

The string to convert.

ctx CommandContext

The command context.

Returns

Task<Optional<DiscordColor>>