mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-16 11:02:44 -04:00
Added a minimum wager requirement to all games
This commit is contained in:
@@ -153,6 +153,14 @@ public class PlinkoCommand : ICommand
|
||||
return;
|
||||
}
|
||||
|
||||
if (wager == 0)
|
||||
{
|
||||
await botInstance.SendChatMessageAsync(
|
||||
$"{user.FormatUsername()}, you have to wager more than {await wager.FormatKasinoCurrencyAsync()}", true,
|
||||
autoDeleteAfter: cleanupDelay);
|
||||
return;
|
||||
}
|
||||
|
||||
List<PlinkoBall> ballsNotInPlay = new List<PlinkoBall>();
|
||||
List<PlinkoBall> ballsInPlay = new List<PlinkoBall>();
|
||||
for (int i = 0; i < numberOfBalls; i++)
|
||||
|
||||
Reference in New Issue
Block a user