- 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.
These are libraries that we're using in this project:
Bot current version:
- BETA version -
0.1.6.0
(x64
Release) - 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.
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:
- Download
premake5.exe
from their website - Open the folder where you downloaded this project onto, put the
premake5.exe
file into this project (Insert the file to the directory whereRaiden Shogun.rc
is located) - On the navigation bar, for example
D:/Harshfeudal/Raiden Shogun/
, clear all and typecmd
on that, then enter and the terminal will release - On that terminal, type:
$ premake5 vs[version]
Example: If you're using Visual Studio 2022 like me, just do it like this:
$ premake5 vs2022
- Rename the
.example.config.json
file toconfig.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]"
}
- 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!
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.
- Visual Studio Enterprise 2022
- Visual Studio Code
- CMake support soon!
- Add
premake5.lua
- Code works well (currently)
- Please leave me a star if you like it. Thank you very much!
- You can probably help me develop this project too by DMing me on my Discord profile (Harshfeudal#0001).
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.
- 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!