Saber is a Discord Bot built with C++ and the ekizu library.
- Discord Bot Token (Guide)
- Enable 'Message Content Intent' in Discord Developer Portal
- Compiler with C++17 support, i.e. MSVC, GCC, Clang
- Ekizu
- CMake (version >= 3.16)
- yt-dlp
- ffmpeg
git clone https://www.github.com/jontitorr/saber
cd saber
cmake -S . -B build
cmake --build build --target install --prefix $HOME/.local # or wherever you want
If you would like to install a binary instead, check out the releases.
After installation finishes follow the configuration instructions, then run the bot by running the saber
executable.
Copy or Rename config.json.example
to config.json
and fill out the values:
{
"token": "YOUR_TOKEN_HERE",
"prefix": "!",
"owner_id": "12345678910",
}
- Fork the repository
- Clone your fork:
git clone https://github.com/your-username/saber.git
- Create your feature branch:
git checkout -b my-new-feature
- Stage changes
git add .
- Commit your changes:
git commit
- Push to the branch:
git push origin my-new-feature
- Submit a pull request