dtranslatebot/README.md
2024-03-02 22:22:05 +01:00

29 lines
711 B
Markdown

## dtranslatebot
Open Source Discord Translation Bot
- Translate incoming channel messages to a Webhook
- Support configuration through slash commands and JSON
- Cross-Platform
#### Build Dependencies
- CMake 3.16 or newer
- Compiler with C++17 Support
- [D++: A C++ Discord API Library for Bots](https://dpp.dev/)
#### Runtime Dependencies
- [LibreTranslate](https://libretranslate.com/)
#### Build dtranslatebot
```bash
git clone https://github.com/Syping/dtranslatebot
cmake -B dtranslatebot-build dtranslatebot
cmake --build dtranslatebot-build
sudo cmake --install dtranslatebot-build
```
##### Optional CMake flags
`-DWITH_BOOST=TRUE`
`-DWITH_DPP_AS_EXTERNAL_PROJECT=TRUE`
`-DWITH_SYSTEMD=TRUE`