Glossary v3

This commit is contained in:
2025-06-19 02:35:45 +00:00
parent 31c3a20061
commit b770ba83d6
5 changed files with 66 additions and 50 deletions

View File

@@ -2,9 +2,9 @@
// Rename me to env.php
$bot_api_key = '1234567890:Telegram_bot_api_key';
$bot_api_key = '1234567890:Telegram_bot_api_key';
$bot_username = 'telegram_bot_username';
$hook_url = 'https://my.server.com/path/to/hook.php';
putenv('DEEPL_API_KEY=some-uuid-12345-abcde:fx');
$hook_url = 'https://my.server.com/path/to/hook.php';
$deepl_api_key = 'some-uuid-12345-abcde:fx';
$deepl_glossary_id = 'some-uuid-12345-abcde'; // or null or commented out
$allowed_chat_ids = [123, 456, -123];