Skip to content

Commit

Permalink
Update DiscordAuditLogEntry.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Lulalaby committed Oct 17, 2023
1 parent 6b8bce9 commit 22199ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DisCatSharp/Entities/Guild/AuditLog/DiscordAuditLogEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace DisCatSharp.Entities.Guild.AuditLog;
/// <summary>
/// Represents a Discord audit log entry.
/// </summary>
public class DiscordAuditLogEntry : SnowflakeObject
public sealed class DiscordAuditLogEntry : SnowflakeObject
{
[JsonProperty("target_id", NullValueHandling = NullValueHandling.Ignore)]
public SnowflakeObject? TargetId { get; internal set; }
Expand All @@ -24,7 +24,7 @@ public class DiscordAuditLogEntry : SnowflakeObject
public AuditLogActionType ActionType { get; internal set; }

[JsonProperty("options", NullValueHandling = NullValueHandling.Ignore)]
public DiscordAuditEntryInfo Options { get; internal set; }
public DiscordAuditEntryInfo? Options { get; internal set; }

[JsonProperty("reason", NullValueHandling = NullValueHandling.Ignore)]
public string? Reason { get; internal set; }
Expand Down

0 comments on commit 22199ab

Please sign in to comment.