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);