(ifcbrk) feature: Add includeRoleIds to PruneUsersAsync (#1581)
* Implemented include_roles for guilds/id/prune get&post * Unnecessary using Co-authored-by: Paulo <pnmanjos@hotmail.com>
This commit is contained in:
@@ -9,9 +9,13 @@ namespace Discord.API.Rest
|
||||
[JsonProperty("days")]
|
||||
public int Days { get; }
|
||||
|
||||
public GuildPruneParams(int days)
|
||||
[JsonProperty("include_roles")]
|
||||
public ulong[] IncludeRoleIds { get; }
|
||||
|
||||
public GuildPruneParams(int days, ulong[] includeRoleIds)
|
||||
{
|
||||
Days = days;
|
||||
IncludeRoleIds = includeRoleIds;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user