Skip to content

Commit

Permalink
Update CommandManager2.java
Browse files Browse the repository at this point in the history
  • Loading branch information
xdnw committed Jul 10, 2024
1 parent 1033289 commit 072c5c9
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,17 @@ public CommandManager2 registerDefaults() {
getCommands().registerMethod(new UtilityCommands(), List.of("announcement"), "addWatermark", "watermark");
getCommands().registerMethod(new WarCommands(), List.of("war", "sheet"), "raidSheet", "raid");

GrantCommands grants = new GrantCommands();
getCommands().registerMethod(grants, List.of("grant"), "grantCity", "city");
getCommands().registerMethod(grants, List.of("grant"), "grantProject", "project");
getCommands().registerMethod(grants, List.of("grant"), "grantInfra", "infra");
getCommands().registerMethod(grants, List.of("grant"), "grantLand", "land");
getCommands().registerMethod(grants, List.of("grant"), "grantUnit", "unit");
getCommands().registerMethod(grants, List.of("grant"), "grantMMR", "mmr");
getCommands().registerMethod(grants, List.of("grant"), "grantConsumption", "consumption");
getCommands().registerMethod(grants, List.of("grant"), "grantBuild", "build");
getCommands().registerMethod(grants, List.of("grant"), "grantWarchest", "warchest");

NewsletterCommands newsletter = new NewsletterCommands();
getCommands().registerMethod(newsletter, List.of("newsletter"), "create", "create");
getCommands().registerMethod(newsletter, List.of("newsletter", "channel"), "channelAdd", "add");
Expand Down

0 comments on commit 072c5c9

Please sign in to comment.