forked from EllieBotDevs/elliebot
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()
|
||||
{
|
||||
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue