mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
.deletecurrency will now also reset banked currency, closes #395
This commit is contained in:
@@ -78,6 +78,7 @@ public class DangerousCommandsService : INService
|
|||||||
|
|
||||||
await ctx.CurrencyTransactions.DeleteAsync();
|
await ctx.CurrencyTransactions.DeleteAsync();
|
||||||
await ctx.PlantedCurrency.DeleteAsync();
|
await ctx.PlantedCurrency.DeleteAsync();
|
||||||
|
await ctx.BankUsers.DeleteAsync();
|
||||||
await ctx.SaveChangesAsync();
|
await ctx.SaveChangesAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user