Moved some ICurrencyService methods to extensions to simplify use

This commit is contained in:
Kwoth
2022-03-19 21:19:22 +01:00
parent 416f3d604c
commit e09435da37
4 changed files with 29 additions and 24 deletions

View File

@@ -65,8 +65,7 @@ public partial class Gambling : GamblingModule<GamblingService>
public async Task<string> GetBalanceStringAsync(ulong userId)
{
await using var wallet = await _cs.GetWalletAsync(userId);
var bal = await wallet.GetBalance();
var bal = await _cs.GetBalanceAsync(userId);
return N(bal);
}