mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
Moved some ICurrencyService methods to extensions to simplify use
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user