Add optional user/message/channel objects to Reactions

This commit is contained in:
Christopher F
2016-11-06 13:33:37 -05:00
parent 676fbbcd23
commit 8dfc6aea67
3 changed files with 14 additions and 7 deletions

View File

@@ -35,7 +35,7 @@ namespace Discord.Rest
public static async Task RemoveReactionAsync(IMessage msg, IUser user, string emoji, BaseDiscordClient client,
RequestOptions options)
{
await client.ApiClient.RemoveReactionAsync(msg.Channel.Id, msg.Id, user.Id, emoji, options);
await client.ApiClient.RemoveReactionAsync(msg.Channel.Id, msg.Id, user.Id, emoji, options).ConfigureAwait(false);
}
public static async Task<IReadOnlyCollection<IUser>> GetReactionUsersAsync(IMessage msg, string emoji,