Files
airi/README.md
2026-01-29 00:52:59 +01:00

34 lines
639 B
Markdown

## Credits
https://github.com/brainboxdotcc/templatebot
## Compilation
```bash
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 :
```bash
cmake .. -DDPP_ROOT_DIR=<your-path>
```
## Running the bot
Create a config.json in the directory above the `build` directory :
```json
{
"token": "your bot token here",
"gemini": "your gemini api key here"
}
```
Start the bot :
```bash
cd build
./airi
```
```bash
docker build -t airi .
docker run -d \
--name airi-container \
-v $(pwd)/config.json:/usr/src/airi/config.json \
airi
```