From b33311c37bdf683bd9ec9efa92af45ce8649a980 Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Wed, 18 Mar 2026 23:57:30 -0500 Subject: [PATCH] Continue instead of return on match succes for whispers --- KfChatDotNetBot/Services/BotCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KfChatDotNetBot/Services/BotCommands.cs b/KfChatDotNetBot/Services/BotCommands.cs index c74d61d..bfa1645 100644 --- a/KfChatDotNetBot/Services/BotCommands.cs +++ b/KfChatDotNetBot/Services/BotCommands.cs @@ -57,7 +57,7 @@ internal class BotCommands var match = regex.Match(messageTrimmed); if (!match.Success) continue; _logger.Debug($"Message matches {regex}"); - if (!command.WhisperCanInvoke && message.IsWhisper) return; + if (!command.WhisperCanInvoke && message.IsWhisper) continue; using var db = new ApplicationDbContext(); var user = db.Users.AsNoTracking().FirstOrDefault(u => u.KfId == message.Author.Id); // This should never happen as brand-new users are created upon join