Add files
This commit is contained in:
23
README.md
Normal file
23
README.md
Normal file
@@ -0,0 +1,23 @@
|
||||
## 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
|
||||
```
|
||||
Reference in New Issue
Block a user