mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-04-30 03:22:04 -04:00
Added 100 minimum for rain
This commit is contained in:
@@ -94,6 +94,14 @@ public class RainCommand : ICommand
|
||||
return;
|
||||
}
|
||||
|
||||
decimal rainMin = 100;
|
||||
if (decAmount < rainMin)
|
||||
{
|
||||
await botInstance.SendChatMessageAsync($"{user.FormatUsername()}, rain at least {await rainMin.FormatKasinoCurrencyAsync()}", true,
|
||||
autoDeleteAfter: cleanupDelay);
|
||||
return;
|
||||
}
|
||||
|
||||
rain = new KasinoRainModel
|
||||
{
|
||||
Participants = [],
|
||||
|
||||
Reference in New Issue
Block a user