24 lines
456 B
Markdown
24 lines
456 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" }
|
|
```
|
|
Start the bot:
|
|
```bash
|
|
cd build
|
|
./airi
|
|
```
|