From 339237b35149222eef2e2385f13813936676cf86 Mon Sep 17 00:00:00 2001 From: Toastie <toastie@toastiet0ast.com> Date: Thu, 20 Mar 2025 21:34:31 +1300 Subject: [PATCH] fixed .dmc --- src/EllieBot/Modules/Administration/AdministrationService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/EllieBot/Modules/Administration/AdministrationService.cs b/src/EllieBot/Modules/Administration/AdministrationService.cs index 526eb69..d87cacd 100644 --- a/src/EllieBot/Modules/Administration/AdministrationService.cs +++ b/src/EllieBot/Modules/Administration/AdministrationService.cs @@ -107,12 +107,12 @@ public class AdministrationService : IEService, IReadyExecutor .UpdateWithOutputAsync(x => new() { DeleteMessageOnCommand = !x.DeleteMessageOnCommand - }); + }, (old, newVal) => newVal); if (conf.Length == 0) return false; - var val = conf[0].Inserted.DeleteMessageOnCommand; + var val = conf[0].DeleteMessageOnCommand; if (val) deleteMessagesOnCommand.Add(guildId);