[AB-73] adding different feature modes to define whether or not certain actions should be logged, changing name of setup, disable and enable command to show that they are supposed to be for features

This commit is contained in:
Sheldan
2020-10-17 16:26:02 +02:00
parent 44dfdca6e6
commit 1b98436736
53 changed files with 525 additions and 165 deletions

View File

@@ -11,7 +11,7 @@ import lombok.Getter;
public enum ModMailMode implements FeatureMode {
LOGGING("log");
private String key;
private final String key;
ModMailMode(String key) {
this.key = key;

View File

@@ -18,7 +18,7 @@ public class ModMailCategoryValidationErrorModel implements ValidationErrorModel
@Override
public String getTemplateName() {
return "setup_modmail_category_not_setup";
return "feature_setup_modmail_category_not_setup";
}
@Override