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> /// </summary>
public record AuditLog public record AuditLog
{ {
/*
/// <summary> /// <summary>
/// Gets an array of <see cref="Webhook"/>s. /// Gets an array of <see cref="Webhook"/>s.
/// </summary> /// </summary>
/*[JsonPropertyName("webhooks")]
[JsonPropertyName("webhooks")]
public Optional<Webhook[]> Webhooks { get; init; }*/ //TODO Add Webhook public Optional<Webhook[]> Webhooks { get; init; }*/ //TODO Add Webhook


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


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


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

Loading…
Cancel
Save