commit
063b43a1c7
@ -72,9 +72,9 @@ namespace NadekoBot.Modules.Administration
|
|||||||
conf.AutoDeleteMessagesOnCommand = !conf.AutoDeleteMessagesOnCommand;
|
conf.AutoDeleteMessagesOnCommand = !conf.AutoDeleteMessagesOnCommand;
|
||||||
await Classes.JSONModels.ConfigHandler.SaveConfig().ConfigureAwait(false);
|
await Classes.JSONModels.ConfigHandler.SaveConfig().ConfigureAwait(false);
|
||||||
if (conf.AutoDeleteMessagesOnCommand)
|
if (conf.AutoDeleteMessagesOnCommand)
|
||||||
await e.Channel.SendMessage("❗`Now automatically deleting successfull command invokations.`");
|
await e.Channel.SendMessage("❗`Now automatically deleting successful command invokations.`");
|
||||||
else
|
else
|
||||||
await e.Channel.SendMessage("❗`Stopped automatic deletion of successfull command invokations.`");
|
await e.Channel.SendMessage("❗`Stopped automatic deletion of successful command invokations.`");
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user