.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

@@ -1,4 +1,5 @@
using Nadeko.Common;
using NadekoBot.Common.TypeReaders;
using NadekoBot.Modules.Gambling.Bank;
using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Modules.Gambling.Services;
@@ -35,7 +36,7 @@ public partial class Gambling
}
[Cmd]
public async Task BankWithdraw(ShmartNumber amount)
public async Task BankWithdraw(ShmartBankAmount amount)
{
if (amount <= 0)
return;