Updated changelog, removed the ability to bet 0 on betdraw

This commit is contained in:
Kwoth
2022-09-23 23:01:11 +02:00
parent 72158c0a2c
commit 5b4517cf5c
3 changed files with 9 additions and 1 deletions

View File

@@ -145,6 +145,9 @@ public partial class Gambling
public async Task BetDrawInternal(long amount, InputValueGuess? val, InputColorGuess? col)
{
if (amount <= 0)
return;
var res = await _service.BetDrawAsync(ctx.User.Id,
amount,
(byte?)val,