From 59447d7aa895612ce0793e906f90a3835c9ebe8d Mon Sep 17 00:00:00 2001 From: Kwoth Date: Mon, 9 Jan 2023 02:59:34 +0100 Subject: [PATCH] .deletecurrency will now also reset banked currency, closes #395 --- .../Administration/DangerousCommands/DangerousCommandsService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/NadekoBot/Modules/Administration/DangerousCommands/DangerousCommandsService.cs b/src/NadekoBot/Modules/Administration/DangerousCommands/DangerousCommandsService.cs index 0f5b3704a..01d77d447 100644 --- a/src/NadekoBot/Modules/Administration/DangerousCommands/DangerousCommandsService.cs +++ b/src/NadekoBot/Modules/Administration/DangerousCommands/DangerousCommandsService.cs @@ -78,6 +78,7 @@ public class DangerousCommandsService : INService await ctx.CurrencyTransactions.DeleteAsync(); await ctx.PlantedCurrency.DeleteAsync(); + await ctx.BankUsers.DeleteAsync(); await ctx.SaveChangesAsync(); }