Move allowed ChatIDs list to env.php

This commit is contained in:
2022-12-29 22:54:06 +00:00
parent a992fc6165
commit 1eb0bc4c2b
2 changed files with 6 additions and 5 deletions

View File

@@ -6,3 +6,5 @@ $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');
$deepl_api_key = 'some-uuid-12345-abcde:fx';
$allowed_chat_ids = [123, 456, -123];