Skip to content

Commit

Permalink
Fix GetReactionUsersAsync (#1151)
Browse files Browse the repository at this point in the history
  • Loading branch information
SubZero0 authored and foxbot committed Sep 28, 2018
1 parent efaedac commit c898325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Discord.Net.Rest/Entities/Messages/MessageHelper.cs
Expand Up @@ -71,7 +71,7 @@ public static async Task RemoveAllReactionsAsync(IMessage msg, BaseDiscordClient
},
nextPage: (info, lastPage) =>
{
if (lastPage.Count != DiscordConfig.MaxUsersPerBatch)
if (lastPage.Count != DiscordConfig.MaxUserReactionsPerBatch)
return false;
info.Position = lastPage.Max(x => x.Id);
Expand Down

0 comments on commit c898325

Please sign in to comment.