Skip to content

The on-going Discord moderation bot and Genshin utility, under-construction, using Dpp version 10.0.22

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
APACHE-LICENSE
MIT
MIT-LICENSE
Notifications You must be signed in to change notification settings

harshfeudal/Raiden-Shogun

Raiden Shogun Discord Bot

A new Genshin Impact Discord bot, using Dpp version 10.0.22

Codacy Badge GitHub issues GitHub license Discord
Contributor Covenant GitHub stars GitHub forks Release Build status

📝 About this project

  • This project is owned by @harshfeudal. You can join my Discord server here!
  • This repository is under-construction! I'll update it as soon as possible.
  • I'm not recommending you to use C++ to code a Discord bot, instead of JavaScript or others library. To know how this project works, you should learn some basics about C++ so that you can know what I am doing.

📚 Libraries and version

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

Bot current version:

  • BETA version - 0.1.7 (x64 Release) [Not official BETA released]
  • Stable version - Unknown (Will be officially released on late December if possible, or at final BETA version - v0.1.9.0)

For downloading latest version, please click here.

🚨 Generate and use

This project was made using Visual Studio, so basically you cannot see my .sln files because I have ignored it. To use this project, you should generate it by using Premake.

So basically, I have written premake5.lua for generating it. Here are these steps:

  1. Download premake5.exe from their website
  2. Open the folder where you downloaded this project onto, put the premake5.exe file into this project (Insert the file to the directory where Raiden Shogun.rc is located)
  3. On the navigation bar, for example D:/Harshfeudal/Raiden Shogun/, clear all and type cmd on that, then enter and the terminal will release
  4. On that terminal, type:
$ premake5 vs[version]

Example: If you're using Visual Studio 2022 like me, just do it like this:

$ premake5 vs2022
  1. Rename the .example.config.json file to config.json. Add your bot token and client secret in that file:
{
   "token": "[add your bot token in here]",
   "client_secret": "[add your bot secret in here]"
}
  1. Build, run, and enjoy!

New version note: Please add your token after you encrypt it into Base64. For encryption, you can use online Base64 converter or use my library!

📜 Some notes

This project only supports:

  • Microsoft Windows 10 x64
  • Visual Studio platform x64
  • C++ 17 ISO/IEC 14882
  • Please install .dll files on dpp page and put it near your .exe executable file so that it will run well

In other cases it crashes or doesn't compile.

👷 Code platform

  • Visual Studio Enterprise 2022
  • Visual Studio Code

💎 Build support

  • CMake support for Visual Studio Code
  • premake5.lua for better Visual Studio setup

🤝 Support me

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

💖 Special thanks

  • My bot avatar artist (Please contact me if you're the owner of that avatar so that I can link your resource).
  • Genshin Impact game for character name (Raiden Shogun)
  • My companions on D++ Discord server!
  • Diego Hautamäki for fixing the grammar
  • My friends
  • And you too, for staring this project and encouraging me to do this!