From 945fac3c50287705579e6637dc0bcc8a2ae5d865 Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Sun, 8 Mar 2026 00:16:24 -0600 Subject: [PATCH] Add "green" support to Roulette --- KfChatDotNetBot/Commands/Kasino/RouletteCommand.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/KfChatDotNetBot/Commands/Kasino/RouletteCommand.cs b/KfChatDotNetBot/Commands/Kasino/RouletteCommand.cs index 4318bc8..a63a520 100644 --- a/KfChatDotNetBot/Commands/Kasino/RouletteCommand.cs +++ b/KfChatDotNetBot/Commands/Kasino/RouletteCommand.cs @@ -723,6 +723,8 @@ public class RouletteCommand : ICommand { betStr = betStr.ToLower().Trim(); + // Hack to translate green to 0 + if (betStr == "green") betStr = "0"; // Try to parse as number (0-36) if (int.TryParse(betStr, out var number) && number >= 0 && number <= 36) {