Cleaned up Reactions PR

This commit is contained in:
RogueException
2016-11-27 00:55:01 -04:00
parent 2e1ec5803b
commit f56a1b653d
8 changed files with 41 additions and 51 deletions

View File

@@ -109,7 +109,7 @@ namespace Discord.Rest
{
var reactions = ImmutableArray.CreateBuilder<RestReaction>(value.Length);
for (int i = 0; i < value.Length; i++)
reactions.Add(new RestReaction(value[i]));
reactions.Add(RestReaction.Create(value[i]));
_reactions = reactions.ToImmutable();
}
else