From 4044c430fd4ef8050c9b8afcd072f542afa95cff Mon Sep 17 00:00:00 2001 From: Mihail Gribkov <61027276+Misha-133@users.noreply.github.com> Date: Mon, 2 Dec 2024 01:58:48 +0300 Subject: [PATCH] nope x3 --- .../Entities/AppSubscriptions/SocketEntitlement.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Discord.Net.WebSocket/Entities/AppSubscriptions/SocketEntitlement.cs b/src/Discord.Net.WebSocket/Entities/AppSubscriptions/SocketEntitlement.cs index a4b71d9299..9c074c1e49 100644 --- a/src/Discord.Net.WebSocket/Entities/AppSubscriptions/SocketEntitlement.cs +++ b/src/Discord.Net.WebSocket/Entities/AppSubscriptions/SocketEntitlement.cs @@ -68,9 +68,7 @@ internal void Update(Model model) ApplicationId = model.ApplicationId; Type = model.Type; IsConsumed = model.IsConsumed.GetValueOrDefault(false); - StartsAt = model.StartsAt.IsSpecified - ? model.StartsAt.Value - : null; + StartsAt = model.StartsAt; EndsAt = model.EndsAt.IsSpecified ? model.EndsAt.Value : null;