Skip to main content

Class RoleTypeReader<T>

Assembly: Revolt.Net.Commands.dll​
View Source​
Declaration
public class RoleTypeReader<T> : TypeReader where T : Role

Methods​

ReadAsync(ICommandContext, String, IServiceProvider)​

View Source​
Declaration
public override async Task<TypeReaderResult> ReadAsync(ICommandContext context, string input, IServiceProvider services)
Returns​

Task<Revolt.Commands.Results.TypeReaderResult>

Parameters​
TypeName
Revolt.Commands.ICommandContextcontext
System.Stringinput
IServiceProviderservices