A C++ anime moderation Discord bot, using D++ library version 10.0.24 (BETA version)
For more information about this library's features, you can view them here.
- This repository is under construction! I'll update it as soon as possible.
- This bot is currently working with deep learning using the OpenCV library. I am currently working on it with my team (a small team, not a big company; this project is just for fun).
- As always, I'm not recommending you to use C++ to code a Discord bot instead of JavaScript or other libraries. To understand how this project works, you should learn some basics about C++ so that you can know what I am doing.
These are the libraries that we're using in this project:
- Dpp - version
10.0.24
(BETA version) - Spdlog - version
1.11.0
(latest) - Base64 (extracted)
- OpenCV
I myself coded the dotenv.h
header. If you want to use it, please remember to copy the MIT-LICENSE
below.
To build on Visual Studio, you can just simply generate it using Premake 5.
Steps to follow:
-
To download
premake5.exe
, you can click here. -
Generate it. If you don't know how to use it, you can find instructions here.
-
Edit the
.env.example
to.env
. Put your Discord bot token that has been encoded into Base64. -
Build and run it!
To build with CMake, follow these commands:
$ mkdir build
$ cd build
$ cmake -G "Visual Studio 17 2022" -A x64 ..
$ cmake --build . --config Release
Please note that I'm using the x64 Release
build. You can change it if you want a different build.
I'd probably glad to see if you have anything new to help and support me. To do that, please make one and before you do that, just make sure you've tested the code by using your bot. I won't bite you if you do it wrong, but just make sure that you have to test it clearly before I merge it.
The OCR Engine is currently working and training. It may update on this repository as soon as possible when finish. You no need to add opencv
library and .dll
because we haven't imported the code on here, and it has no affect on this current code.
© 2018 - Kenjiro HATA/SHOGAKUKAN