salty-cpp-bot
Hey,
This Project is for a lazy Python dev to learn Cpp!
Deps:
DPP
OpenSSL
Mysql++
Nlohmann-json
cURL
Compile deps
Otherwise, there is a Dockerfile ready to use.
How to start the bot using a Dockerfile.
- Make sure you configured the
config.jsonright. - run
./createAndRun.sh. This will create the Container and start it. It also starts thedockerChecker.pythat will look every 30 seconds if the container crashed and restart it when it's true.
Run the bot without the Dockerfile
Info: The bot is build on linux, when you're on Windows, please check how to Compile the libs on your system.
- Make sure you have all deps installed or downloaded and in
flibs/ - Run
cmake . - Run
make - And then
./dcbot --init
Note: Make sure that you have all config parameters set, specially the sql ones.
Contribution
Feel free to open an Issue or Pull request, anything that helps make the Bot better, is appreciated.
The Bot should run on a Local machine before getting merged!
Get in Touch
Join our Discord Server: https://discord.gg/W3Yf53dBMH
On this page
Languages
C++96.5%Shell1.4%Python0.8%CMake0.7%Dockerfile0.6%
Contributors
GNU General Public License v3.0
Created November 1, 2022
Updated January 11, 2026