Table of Contents

Class DiscordRoleConverter

Namespace
DSharpPlus.Commands.Converters
Assembly
DSharpPlus.Commands.dll
public class DiscordRoleConverter : ISlashArgumentConverter<DiscordRole>, ISlashArgumentConverter, ITextArgumentConverter<DiscordRole>, ITextArgumentConverter, IArgumentConverter<DiscordRole>, IArgumentConverter
Inheritance
object
DiscordRoleConverter
Implements

Properties

ParameterType
ReadableName
RequiresText

Methods

ConvertAsync(ConverterContext)

Converts the argument to the desired type.

GetRoleRegex()