jontitorr / saber

A WIP C++ Discord bot.

Home Page:https://jontitorr.github.io/ekizu/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logo

⚔️ Saber (Discord Bot)

Saber is a Discord Bot built with C++ and the ekizu library.

Requirements

  • 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

🚀 Getting Started

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.

⚙️ Configuration

Copy or Rename config.json.example to config.json and fill out the values:

⚠️ Note: Never commit or share your token or api keys publicly ⚠️

{
  "token": "YOUR_TOKEN_HERE",
  "prefix": "!",
  "owner_id": "12345678910",
}

🤝 Contributing

  1. Fork the repository
  2. Clone your fork: git clone https://github.com/your-username/saber.git
  3. Create your feature branch: git checkout -b my-new-feature
  4. Stage changes git add .
  5. Commit your changes: git commit
  6. Push to the branch: git push origin my-new-feature
  7. Submit a pull request

About

A WIP C++ Discord bot.

https://jontitorr.github.io/ekizu/

License:MIT License


Languages

Language:C++ 68.8%Language:CMake 31.2%