Fix typo in audit log interface declaration (#1104)

This commit is contained in:
Still Hsu
2018-07-11 07:32:29 +08:00
committed by Christopher F
parent beb3d46e08
commit b2f0043952
3 changed files with 3 additions and 3 deletions

View File

@@ -445,7 +445,7 @@ namespace Discord.Rest
}
Task IGuild.DownloadUsersAsync() { throw new NotSupportedException(); }
async Task<IReadOnlyCollection<IAuditLogEntry>> IGuild.GetAuditLogAsync(int limit, CacheMode cacheMode, RequestOptions options)
async Task<IReadOnlyCollection<IAuditLogEntry>> IGuild.GetAuditLogsAsync(int limit, CacheMode cacheMode, RequestOptions options)
{
if (cacheMode == CacheMode.AllowDownload)
return (await GetAuditLogsAsync(limit, options).FlattenAsync().ConfigureAwait(false)).ToImmutableArray();