From ca81702fc07e8f0572b80f3169b3e6b8ec5d9042 Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Fri, 23 Aug 2024 12:28:31 +0800 Subject: [PATCH] Now treat user not existing as being offline as Bossman got perma banned on Twitch --- KfChatDotNetBot/Services/Twitch.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/KfChatDotNetBot/Services/Twitch.cs b/KfChatDotNetBot/Services/Twitch.cs index bc4876b..47956f5 100644 --- a/KfChatDotNetBot/Services/Twitch.cs +++ b/KfChatDotNetBot/Services/Twitch.cs @@ -205,7 +205,8 @@ public class Twitch : IDisposable if (responseContent.GetProperty("data").GetProperty("user").ValueKind == JsonValueKind.Null) { _logger.Debug("data.user was null"); - throw new TwitchUserNotFoundException(); + //throw new TwitchUserNotFoundException(); + return false; } if (responseContent.GetProperty("data").GetProperty("user").GetProperty("stream").ValueKind ==