.bank withdraw <expression> will now correctly use bank amount for calculations. Fixed .br giving double win amounts

This commit is contained in:
Kwoth
2022-07-28 12:41:38 +02:00
parent 31e1cbb19f
commit 3c715a29ca
11 changed files with 201 additions and 108 deletions

View File

@@ -663,7 +663,6 @@ public partial class Gambling : GamblingModule<GamblingService>
if (win > 0)
{
str = GetText(strs.br_win(N(win), result.Threshold + (result.Roll == 100 ? " 👑" : "")));
await _cs.AddAsync(ctx.User, win, new("betroll", "win"));
}
else
{