Fix Issue #446. RestUserMessage initializes _reactions even if there are no reactions so get doesn't cause exception.

This commit is contained in:
firebingo
2017-01-04 14:52:15 -07:00
committed by RogueException
parent 4665b63d27
commit 7e9491fb34

View File

@@ -115,6 +115,8 @@ namespace Discord.Rest
else
_reactions = ImmutableArray.Create<RestReaction>();
}
else
_reactions = ImmutableArray.Create<RestReaction>();
if (model.Content.IsSpecified)
{