Added a minimum wager requirement to all games

This commit is contained in:
barelyprofessional
2026-02-08 12:02:24 -06:00
parent 2fb8f0bb89
commit 1901507c25
11 changed files with 92 additions and 1 deletions

View File

@@ -101,6 +101,15 @@ public class LambchopCommand : ICommand
true, autoDeleteAfter: cleanupDelay);
return;
}
if (wager == 0)
{
await botInstance.SendChatMessageAsync(
$"{user.FormatUsername()}, you have to wager more than {await wager.FormatKasinoCurrencyAsync()}", true,
autoDeleteAfter: cleanupDelay);
return;
}
var colors =
await SettingsProvider.GetMultipleValuesAsync([
BuiltIn.Keys.KiwiFarmsGreenColor, BuiltIn.Keys.KiwiFarmsRedColor