Hildabot, built for Hildacord. Now in C++!
Important
This bot was built from the ground up to work with a specific Discord guild - as such, I provide no guarantees that it'll run properly in any guilds outside of the one it was designed for, or any help accomplishing such.
However, if you wish to run it in your own guild:
- You'll need to install the projects dependencies - DPP and the MongoDB C++ driver. You should also have GNU make installed.
- You'll need to swap out all of the IDs in the source for IDs in your server. A project-wide regex search in your IDE for Discord snowflakes (
[0-9]{17,}) should identify anything that needs to be swapped out. - Set up a MongoDB database. This is required for things such as XP, submissions, birthdays, and the store.
- The database should be named
hildabotand have two collections — one namedusers, and another namedstore. - For the leaderboard to work, the
userscollection must have an index with keyxpin descending order with background building enabled.
- The database should be named
- Fill out
config.handconstants.h. You'll need to supply a prefix, your Discord bot token, a MongoDB URI, and various IDs for the channels and roles used by the bot. - Build with
make.