mirror of
https://github.com/Syping/dtranslatebot.git
synced 2025-09-05 16:32:06 +02:00
improve logging and some refactor
This commit is contained in:
parent
86351b9537
commit
b09da9cfce
8 changed files with 112 additions and 82 deletions
|
@ -20,15 +20,15 @@
|
|||
"source": "en",
|
||||
"target": {
|
||||
"de": "https://discord.com/api/webhooks/$guild2_de_webhook_id/$guild2_de_webhook_token",
|
||||
"fr": "https://discord.com/api/webhooks/$guild2_fr_webhook_id/$guild2_fr_webhook_token",
|
||||
"ru": "https://discord.com/api/webhooks/$guild2_ru_webhook_id/$guild2_ru_webhook_token"
|
||||
"fr": "https://discord.com/api/webhooks/$guild2_fr_webhook_id/$guild2_fr_webhook_token"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"preferred_lang": ["en", "de", "fr", "ru"],
|
||||
"preferred_lang": ["en", "de", "fr", ...],
|
||||
"storage": "$working_directory",
|
||||
"token": "$bot_token",
|
||||
"translate": {
|
||||
"translator": {
|
||||
"hostname": "127.0.0.1",
|
||||
"port": 80,
|
||||
"url": "/",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue