8851a396c7546761b4a9ebeaacfaacd05570b3d7
Credits
https://github.com/brainboxdotcc/templatebot
Compilation
mkdir build
cd build
cmake ..
make -j
If DPP is installed in a different location you can specify the root directory to look in while running CMake :
cmake .. -DDPP_ROOT_DIR=<your-path>
Running the bot
Create a config.json in the directory above the build directory :
{
"token": "your bot token here",
"gemini": "your gemini api key here"
}
Start the bot :
cd build
./airi
docker build -t airi .
docker run -d \
--name airi-container \
-v $(pwd)/config.json:/usr/src/airi/config.json \
airi
Description
Languages
C++
67.4%
CMake
30.4%
Dockerfile
2.2%