feature: Implement missing audit log types (#1458)

* Implement missing audit log types

* Use IUser properties
This commit is contained in:
NeKz
2020-05-07 15:04:33 +02:00
committed by GitHub
parent ed869bd78b
commit 479e28358e
10 changed files with 276 additions and 10 deletions

View File

@@ -4,11 +4,12 @@ namespace Discord.API
{
internal class AuditLogOptions
{
//Message delete
[JsonProperty("count")]
public int? MessageDeleteCount { get; set; }
public int? Count { get; set; }
[JsonProperty("channel_id")]
public ulong? MessageDeleteChannelId { get; set; }
public ulong? ChannelId { get; set; }
[JsonProperty("message_id")]
public ulong? MessageId { get; set; }
//Prune
[JsonProperty("delete_member_days")]