Merge pull request #327 from RogueException/issue-240
Adjusted GetGuildPruneCount to using params;
This commit is contained in:
@@ -671,7 +671,7 @@ namespace Discord.API
|
||||
options = RequestOptions.CreateOrClone(options);
|
||||
|
||||
var ids = new BucketIds(guildId: guildId);
|
||||
return await SendJsonAsync<GetGuildPruneCountResponse>("GET", () => $"guilds/{guildId}/prune", args, ids, options: options).ConfigureAwait(false);
|
||||
return await SendAsync<GetGuildPruneCountResponse>("GET", () => $"guilds/{guildId}/prune?days={args.Days}", ids, options: options).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
//Guild Bans
|
||||
|
||||
Reference in New Issue
Block a user