mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Added 100 minimum for rain
This commit is contained in:
@@ -94,6 +94,14 @@ public class RainCommand : ICommand
|
|||||||
return;
|
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
|
rain = new KasinoRainModel
|
||||||
{
|
{
|
||||||
Participants = [],
|
Participants = [],
|
||||||
|
|||||||
Reference in New Issue
Block a user