Discord bot made in D++ library.
Currently only Linux system is supported. Tested on Ubuntu 23.10.
- cmake (version 3.16 or later)
- make (lasted)
imagemagick (lasted)- g++ (version 8.3 or later)
- D++ (10.0.24 or later)
- jsoncpp (1.9.5-4 or later)
- git (any version)
Using apt:
$ sudo apt install cmake g++ libjsoncpp-dev git make
And download D++ manually from here.
$ git clone https://github.com/BlenderZegarek/BZbotCpp.git
$ cd BZbotCpp
$ make
$ ./bzbotcpp --create-config
After running this command, the application will create a config file, where you need to enter token and guild id.
The config.json should look like this:
{
"token": "your token here"
"guildId": 1234567891234567890
"colors": {
"default": 0,
"success": 0,
"error": 0,
"warning": 0
}
}
To run this bot enter:
$ ./bzbotcpp