add translate slashcommand, other improvements

This commit is contained in:
Syping 2024-01-25 20:48:28 +01:00
parent 18278581f4
commit 3a158b400f
10 changed files with 456 additions and 54 deletions

View file

@ -26,11 +26,12 @@
}
}
},
"preferred_lang": ["en", "de", "fr", "ru"],
"token": "$bot_token",
"translate": {
"hostname": "127.0.0.1",
"port": 80,
"url": "/translate",
"url": "/",
"tls": false,
"apiKey": ""
}