This is some parts of new @FailsBot.
If you want to install the project dependencies using the Conan package manager, then first make sure you've added the Bincrafters repository to your configuration:
$ conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
After that, install the dependencies:
$ cd build
$ conan install .. --build missing
After installing all the dependencies, build the project using CMake:
$ cd build
$ cmake .. -G [generator]
Then use the generated project definition to build the project. E.g. on Windows:
$ cd build
$ cmake .. -G "Visual Studio 15 2017 Win64"
$ cmake --build .
- CMake;
- Conan!
- Good and stable code;
- Normal architecture (but if it will be, I will contribute to another library);
- Normal docs (if it will be, I remove that paragraph);
- Good code style.
+---+-src/ - contains subfolders and bot's entry point.
+---tgbotlib - bot network API.
+---plugins - all plugins and command handlers.
+---cfg - configs (bot key, known IDs, etc)