diff --git a/KfChatDotNetBot/Commands/Kasino/RainCommand.cs b/KfChatDotNetBot/Commands/Kasino/RainCommand.cs index a666f08..cf1f5cf 100644 --- a/KfChatDotNetBot/Commands/Kasino/RainCommand.cs +++ b/KfChatDotNetBot/Commands/Kasino/RainCommand.cs @@ -73,6 +73,13 @@ public class RainCommand : ICommand return; } //if you're trying to start the rain + if (rain != null) + { + await botInstance.SendChatMessageAsync($"{user.FormatUsername()}, there's already a rain in progress.", + true, autoDeleteAfter: cleanupDelay); + return; + } + decimal decAmount = Convert.ToDecimal(amount.Value); if (decAmount <= 0) {