Browse Source

Fix build for audit logs

pull/1868/merge
Paulo 4 years ago
parent
commit
465ead9858
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      src/Models/AuditLog/AuditLog.cs

+ 6
- 3
src/Models/AuditLog/AuditLog.cs View File

@@ -7,16 +7,18 @@ namespace Discord.Net.Models
/// </summary>
public record AuditLog
{
/*
/// <summary>
/// Gets an array of <see cref="Webhook"/>s.
/// </summary>
/*[JsonPropertyName("webhooks")]
[JsonPropertyName("webhooks")]
public Optional<Webhook[]> Webhooks { get; init; }*/ //TODO Add Webhook

/*
/// <summary>
/// Gets an array of <see cref="User"/>s.
/// </summary>
/*[JsonPropertyName("users")]
[JsonPropertyName("users")]
public Optional<User[]> Users { get; init; }*/ //TODO Add User

/// <summary>
@@ -25,10 +27,11 @@ namespace Discord.Net.Models
[JsonPropertyName("audit_log_entries")]
public Optional<AuditLogEntry[]> AuditLogEntries { get; init; }

/*
/// <summary>
/// Gets an array of <see cref="Integration"/>s.
/// </summary>
/*[JsonPropertyName("integrations")]
[JsonPropertyName("integrations")]
public Optional<Integration[]> Integrations { get; init; }*/ //TODO Add Integration
}
}

Loading…
Cancel
Save