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")
return;
if (amount < 1)
if (amount < 3)
{
await channel.SendMessageAsync($"You can't bet less than 3{Gambling.CurrencySign}.")
.ConfigureAwait(false);
return;
}
// todo update this
long userFlowers;
using (var uow = DbHandler.UnitOfWork())