fixed .dmc

This commit is contained in:
Toastie 2025-03-20 21:34:31 +13:00
parent 91d464b041
commit 339237b351
Signed by: toastie_t0ast
GPG key ID: 0861BE54AD481DC7

View file

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