Betflip requires the minimum bet of 3, because return value is 1.8x now
This commit is contained in:
parent
e83cfc142e
commit
a8d9575c15
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user