Paginate reactions - solved #1007 (#1022)

* Cleaned up and refactored slightly

* Resolves #971

* Adds support for default avatars and resolves #971

* Amendment

* Final amendment

* Paginating reactions

* Amendments based on feedback

* Further amendment based on review

* Final(?) amendment

* Removes default limit and after user id

* Removes fromUserId; cleans up model creation; replaces function with individual parameters
This commit is contained in:
HelpfulStranger999
2018-05-24 17:35:38 -05:00
committed by Christopher F
parent e764dafe08
commit 79811d0e61
7 changed files with 42 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
using System.Reflection;
using System.Reflection;
namespace Discord
{
@@ -20,6 +20,7 @@ namespace Discord
public const int MaxMessagesPerBatch = 100;
public const int MaxUsersPerBatch = 1000;
public const int MaxGuildsPerBatch = 100;
public const int MaxUserReactionsPerBatch = 100;
public const int MaxAuditLogEntriesPerBatch = 100;
/// <summary> Gets or sets how a request should act in the case of an error, by default. </summary>