From 9cd5e0f6f041b104e8878a40bd3e9d5b0ffacc22 Mon Sep 17 00:00:00 2001 From: Madpeter <57852827+Madpeterz@users.noreply.github.com> Date: Tue, 1 Oct 2024 18:50:06 +0100 Subject: [PATCH] fix smart reply channel limiter --- SecondBotEvents/Services/CommandsService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SecondBotEvents/Services/CommandsService.cs b/SecondBotEvents/Services/CommandsService.cs index 8c2365c..31cd8fd 100644 --- a/SecondBotEvents/Services/CommandsService.cs +++ b/SecondBotEvents/Services/CommandsService.cs @@ -241,7 +241,7 @@ namespace SecondBotEvents.Services } if (mode == "CHAT") { - if (target_channel <= 0) + if (target_channel < 0) { LogFormater.Crit("[SmartReply] output Channel must be zero or higher - using 99"); target_channel = 999;