Table of Contents

Method IArgumentConverter<DiscordRole>.ConvertAsync

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

IArgumentConverter<DiscordRole>.ConvertAsync(string, CommandContext)

Converts a string.

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

Parameters

value string

The string to convert.

ctx CommandContext

The command context.

Returns

Task<Optional<DiscordRole>>