Cleaned up command builders and async func names

This commit is contained in:
RogueException
2016-11-18 07:28:30 -04:00
parent 7505831998
commit 593ba46f1c
11 changed files with 273 additions and 318 deletions

View File

@@ -16,11 +16,11 @@ namespace Discord.Commands
Name = builder.Name;
Summary = builder.Summary;
IsOptional = builder.Optional;
IsRemainder = builder.Remainder;
IsMultiple = builder.Multiple;
IsOptional = builder.IsOptional;
IsRemainder = builder.IsRemainder;
IsMultiple = builder.IsMultiple;
ParameterType = builder.ParameterType;
Type = builder.ParameterType;
DefaultValue = builder.DefaultValue;
_reader = builder.TypeReader;
@@ -32,7 +32,7 @@ namespace Discord.Commands
public bool IsOptional { get; }
public bool IsRemainder { get; }
public bool IsMultiple { get; }
public Type ParameterType { get; }
public Type Type { get; }
public object DefaultValue { get; }
public async Task<TypeReaderResult> Parse(CommandContext context, string input)