You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace Discord.API
|
|
|
|
|
{
|
|
|
|
|
internal class AuditLogEntry
|
|
|
|
|
{
|
|
|
|
|
[JsonProperty("target_id")]
|
|
|
|
|
public ulong? TargetId { get; set; }
|
|
|
|
|
[JsonProperty("user_id")]
|
|
|
|
|
public ulong UserId { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty("changes")]
|
|
|
|
|
public AuditLogChange[] Changes { get; set; }
|
|
|
|
|
[JsonProperty("options")]
|
|
|
|
|
public AuditLogOptions Options { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty("id")]
|
|
|
|
|
public ulong Id { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty("action_type")]
|
|
|
|
|
public ActionType Action { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty("reason")]
|
|
|
|
|
public string Reason { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|