From 0f68abcac99b946cc522fc3965f7947e4c422ce2 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Tue, 26 Apr 2022 14:15:58 +0200 Subject: [PATCH] Fixed .deletexp command --- CHANGELOG.md | 4 ++++ .../DangerousCommands/DangerousCommandsService.cs | 2 +- src/NadekoBot/NadekoBot.csproj | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f5dc3d9f6..d8d1be55b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,10 @@ Experimental changelog. Mostly based on [keepachangelog](https://keepachangelog. - Old embed format will still work - There shouldn't be any breaking changes +### Fixed + +- Fixed `.deletexp` command + ## [4.1.2] - 16.04.2022 ### Fixed diff --git a/src/NadekoBot/Modules/Administration/DangerousCommands/DangerousCommandsService.cs b/src/NadekoBot/Modules/Administration/DangerousCommands/DangerousCommandsService.cs index b2f0b2c9e..f21696068 100644 --- a/src/NadekoBot/Modules/Administration/DangerousCommands/DangerousCommandsService.cs +++ b/src/NadekoBot/Modules/Administration/DangerousCommands/DangerousCommandsService.cs @@ -19,7 +19,7 @@ public class DangerousCommandsService : INService await using var ctx = _db.GetDbContext(); await ctx.DiscordUser.UpdateAsync(_ => new DiscordUser() { - Club = null, + ClubId = null, // IsClubAdmin = false, TotalXp = 0 }); diff --git a/src/NadekoBot/NadekoBot.csproj b/src/NadekoBot/NadekoBot.csproj index 74f9666ef..f332a25b6 100644 --- a/src/NadekoBot/NadekoBot.csproj +++ b/src/NadekoBot/NadekoBot.csproj @@ -72,7 +72,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - +