Betflip requires the minimum bet of 3, because return value is 1.8x now

This commit is contained in:
Kwoth 2016-10-24 12:44:28 +02:00
parent e83cfc142e
commit a8d9575c15

View File

@ -58,8 +58,12 @@ namespace NadekoBot.Modules.Gambling
if (guessStr != "H" && guessStr != "T" && guessStr != "HEADS" && guessStr != "TAILS") if (guessStr != "H" && guessStr != "T" && guessStr != "HEADS" && guessStr != "TAILS")
return; return;
if (amount < 1) if (amount < 3)
{
await channel.SendMessageAsync($"You can't bet less than 3{Gambling.CurrencySign}.")
.ConfigureAwait(false);
return; return;
}
// todo update this // todo update this
long userFlowers; long userFlowers;
using (var uow = DbHandler.UnitOfWork()) using (var uow = DbHandler.UnitOfWork())