Check if a rain exists

This commit is contained in:
barelyprofessional
2026-01-28 00:50:25 -06:00
parent 305082e17f
commit 6209a76e94

View File

@@ -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)
{