Add default toggle for confirm commands in config.yml.

This commit is contained in:
Ali Moghnieh 2018-01-28 16:47:17 +00:00
parent 752565b8f1
commit 1ef1cd98db
No known key found for this signature in database
GPG key ID: F09D3A1BAF2E6D70
4 changed files with 41 additions and 10 deletions

View file

@ -302,4 +302,8 @@ public interface ISettings extends IConf {
int getMotdDelay();
boolean isDirectHatAllowed();
}
List<String> getDefaultDisabledConfirmCommands();
boolean isConfirmCommandEnabledByDefault(String commandName);
}