mirror of
https://github.com/Syping/dtranslatebot.git
synced 2024-12-22 03:45:35 +01:00
de121beaac
- remove potential DPP AVX dependency
28 lines
705 B
Markdown
28 lines
705 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_STATIC_BUNDLE=TRUE`
|
|
`-DWITH_SYSTEMD=TRUE`
|