mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 02:08:27 -04:00
Removed cmd source generator. Commands are no longer partial methods. Compilations should be slightly faster now. Updated packages and adapted drawing code to the new apis. There may be some bugs.
This commit is contained in:
@@ -19,7 +19,7 @@ public partial class Gambling
|
||||
}
|
||||
|
||||
[Cmd]
|
||||
public async partial Task BankDeposit(ShmartNumber amount)
|
||||
public async Task BankDeposit(ShmartNumber amount)
|
||||
{
|
||||
if (amount <= 0)
|
||||
return;
|
||||
@@ -35,7 +35,7 @@ public partial class Gambling
|
||||
}
|
||||
|
||||
[Cmd]
|
||||
public async partial Task BankWithdraw(ShmartNumber amount)
|
||||
public async Task BankWithdraw(ShmartNumber amount)
|
||||
{
|
||||
if (amount <= 0)
|
||||
return;
|
||||
@@ -51,7 +51,7 @@ public partial class Gambling
|
||||
}
|
||||
|
||||
[Cmd]
|
||||
public async partial Task BankBalance()
|
||||
public async Task BankBalance()
|
||||
{
|
||||
var bal = await _bank.GetBalanceAsync(ctx.User.Id);
|
||||
|
||||
|
Reference in New Issue
Block a user