Add /ch command

This commit is contained in:
Draycia committed 2021-09-22 18:48:44 -07:00
1 parent f1ad277003
commit ff40025fe5
1 file changed
+7
@@ -137,6 +137,13 @@ public class CarbonChannelRegistry extends RegistryImpl<Key, ChatChannel> implem
.build(); // TODO: command aliases
commandManager.command(command);
var channelCommand = commandManager.commandBuilder("channel", "ch")
.literal(channelKey.value())
.proxies(command)
.build();
commandManager.command(channelCommand);
}
}
});