/Tsukasa-Tsukuyomi

An anime Discord bot, written in C++

Primary LanguageC++MIT LicenseMIT

Tsukasa-Tsukuyomi

Tsukasa Tsukuyomi

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.

GitHub issues GitHub license GitHub stars Visual Studio
Build status CMake MSBuild

📝 About this project

  • 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.

📚 Libraries and versions

These are the libraries that we're using in this project:

I myself coded the dotenv.h header. If you want to use it, please remember to copy the MIT-LICENSE below.

🚨 Build and run

I. Build on Visual Studio with Premake

To build on Visual Studio, you can just simply generate it using Premake 5.

Steps to follow:

  1. To download premake5.exe, you can click here.

  2. Generate it. If you don't know how to use it, you can find instructions here.

  3. Edit the .env.example to .env. Put your Discord bot token that has been encoded into Base64.

  4. Build and run it!

II. Build on Visual Studio Code with CMake

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.

💻 Contribution and Pull Request

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.

📝 Please note

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.

© 2023 - Harshfeudal
© 2018 - Kenjiro HATA/SHOGAKUKAN