Discord feature additions, Discord startup flow changed, /f debug added
Signed-off-by: DroppingAnvil <dr0pping.4nvi1@gmail.com>
This commit is contained in:
@@ -34,6 +34,7 @@ public enum Permission {
|
||||
CONVERTCONFIG("convertconfig"),
|
||||
CREATE("create"),
|
||||
CORNER("corner"),
|
||||
DEBUG("debug"),
|
||||
DEFAULTRANK("defaultrank"),
|
||||
DEINVITE("deinvite"),
|
||||
DELHOME("delhome"),
|
||||
|
||||
@@ -94,6 +94,10 @@ public enum Role implements Permissable {
|
||||
return this.nicename;
|
||||
}
|
||||
|
||||
public String getRoleCapitalized() {
|
||||
return this.nicename.replace(Character.toString(nicename.charAt(0)), Character.toString(nicename.charAt(0)).toUpperCase());
|
||||
}
|
||||
|
||||
public TL getTranslation() {
|
||||
return translation;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user