From 22199abd8922f86bba99597dc302aec21a42e0ba Mon Sep 17 00:00:00 2001 From: Lala Sabathil Date: Tue, 17 Oct 2023 07:34:46 +0200 Subject: [PATCH] Update DiscordAuditLogEntry.cs --- DisCatSharp/Entities/Guild/AuditLog/DiscordAuditLogEntry.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DisCatSharp/Entities/Guild/AuditLog/DiscordAuditLogEntry.cs b/DisCatSharp/Entities/Guild/AuditLog/DiscordAuditLogEntry.cs index 7b5ca51bbd..5af41facc7 100644 --- a/DisCatSharp/Entities/Guild/AuditLog/DiscordAuditLogEntry.cs +++ b/DisCatSharp/Entities/Guild/AuditLog/DiscordAuditLogEntry.cs @@ -9,7 +9,7 @@ namespace DisCatSharp.Entities.Guild.AuditLog; /// /// Represents a Discord audit log entry. /// -public class DiscordAuditLogEntry : SnowflakeObject +public sealed class DiscordAuditLogEntry : SnowflakeObject { [JsonProperty("target_id", NullValueHandling = NullValueHandling.Ignore)] public SnowflakeObject? TargetId { get; internal set; } @@ -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; }