2024-02-20 07:18:04 +01:00
|
|
|
## dtranslatebot
|
|
|
|
Open Source Discord Translation Bot
|
|
|
|
|
|
|
|
- Translate incoming channel messages to a Webhook
|
2024-03-02 22:22:05 +01:00
|
|
|
- Support configuration through slash commands and JSON
|
2024-02-20 07:18:04 +01:00
|
|
|
- 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
|
2024-02-26 12:01:23 +01:00
|
|
|
`-DWITH_BOOST=TRUE`
|
2024-03-11 03:45:48 +01:00
|
|
|
`-DWITH_DPP_STATIC_BUNDLE=TRUE`
|
2024-02-26 12:01:23 +01:00
|
|
|
`-DWITH_SYSTEMD=TRUE`
|