mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-04-30 03:22:04 -04:00
Add "green" support to Roulette
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user