mirror of
https://github.com/Syping/dtranslatebot.git
synced 2024-11-05 05:26:57 +01:00
37 lines
1.2 KiB
JSON
37 lines
1.2 KiB
JSON
{
|
|
"avatar_size": 256,
|
|
"guilds": {
|
|
"$guild1_id": {
|
|
"$channel1_id": {
|
|
"source": "en",
|
|
"target": "de",
|
|
"webhook": "https://discord.com/api/webhooks/$guild1_de_webhook_id/$guild1_de_webhook_token"
|
|
},
|
|
"$channel2_id": {
|
|
"source": "de",
|
|
"target": "en",
|
|
"webhook": "https://discord.com/api/webhooks/$guild1_en_webhook_id/$guild1_en_webhook_token"
|
|
}
|
|
},
|
|
"My Discord Guild": {
|
|
"id": "$guild2_id",
|
|
"General English": {
|
|
"id": "$channel3_id",
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"token": "$bot_token",
|
|
"translate": {
|
|
"hostname": "127.0.0.1",
|
|
"port": 80,
|
|
"url": "/translate",
|
|
"tls": false,
|
|
"apiKey": ""
|
|
}
|
|
}
|