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
DiscordRoleConverter
Implements

Properties

ParameterType
ReadableName
RequiresText

Methods

ConvertAsync(ConverterContext)

Converts the argument to the desired type.

GetRoleRegex()