dtranslatebot/etc/dtranslatebot.json

39 lines
1.2 KiB
JSON
Raw Normal View History

2024-01-02 03:45:06 +01:00
{
2024-01-17 12:38:16 +01:00
"avatar_size": 256,
2024-01-02 03:45:06 +01:00
"guilds": {
2024-01-12 11:18:15 +01:00
"$guild1_id": {
"$channel1_id": {
2024-01-02 03:45:06 +01:00
"source": "en",
"target": "de",
2024-01-12 11:18:15 +01:00
"webhook": "https://discord.com/api/webhooks/$guild1_de_webhook_id/$guild1_de_webhook_token"
2024-01-02 03:45:06 +01:00
},
2024-01-12 11:18:15 +01:00
"$channel2_id": {
2024-01-02 03:45:06 +01:00
"source": "de",
"target": "en",
2024-01-12 11:18:15 +01:00
"webhook": "https://discord.com/api/webhooks/$guild1_en_webhook_id/$guild1_en_webhook_token"
}
},
2024-01-12 11:18:15 +01:00
"My Discord Guild": {
"id": "$guild2_id",
"General English": {
"id": "$channel3_id",
"source": "en",
"target": {
2024-01-12 11:18:15 +01:00
"de": "https://discord.com/api/webhooks/$guild2_de_webhook_id/$guild2_de_webhook_token",
2024-02-04 09:24:32 +01:00
"fr": "https://discord.com/api/webhooks/$guild2_fr_webhook_id/$guild2_fr_webhook_token"
}
2024-01-02 03:45:06 +01:00
}
}
},
2024-02-04 09:24:32 +01:00
"preferred_lang": ["en", "de", "fr", ...],
"storage": "$working_directory",
2024-01-17 12:38:16 +01:00
"token": "$bot_token",
2024-02-04 09:24:32 +01:00
"translator": {
2024-01-02 03:45:06 +01:00
"hostname": "127.0.0.1",
"port": 80,
"url": "/",
2024-01-02 03:45:06 +01:00
"tls": false,
"apiKey": ""
}
}