fixed .dmc
This commit is contained in:
parent
91d464b041
commit
339237b351
1 changed files with 2 additions and 2 deletions
|
@ -107,12 +107,12 @@ public class AdministrationService : IEService, IReadyExecutor
|
||||||
.UpdateWithOutputAsync(x => new()
|
.UpdateWithOutputAsync(x => new()
|
||||||
{
|
{
|
||||||
DeleteMessageOnCommand = !x.DeleteMessageOnCommand
|
DeleteMessageOnCommand = !x.DeleteMessageOnCommand
|
||||||
});
|
}, (old, newVal) => newVal);
|
||||||
|
|
||||||
if (conf.Length == 0)
|
if (conf.Length == 0)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
var val = conf[0].Inserted.DeleteMessageOnCommand;
|
var val = conf[0].DeleteMessageOnCommand;
|
||||||
|
|
||||||
if (val)
|
if (val)
|
||||||
deleteMessagesOnCommand.Add(guildId);
|
deleteMessagesOnCommand.Add(guildId);
|
||||||
|
|
Loading…
Add table
Reference in a new issue